Skip to content

Commit e37fb61

Browse files
author
Rosa Hase
committed
some cleanup; scm versioning; fixed typos
1 parent edafd3e commit e37fb61

3 files changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,12 @@ jobs:
2020
uses: actions/upload-artifact@v4
2121
with:
2222
name: dist
23-
path: |
24-
dist
25-
!dist/**/*.md
23+
path: dist
2624

2725
release:
2826
name: Upload release to PyPI
2927
needs: build
30-
if: github.ref == 'refs/heads/main'
28+
if: startsWith(github.ref, 'refs/tags')
3129
runs-on: ubuntu-latest
3230
environment:
3331
name: pypi

docs/ObsidianVault/Usage/ECharts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Echarts
1+
# ECharts
22
## Graph Javascript by Apache ECharts
33

44
A `graph.js` example can be downloaded from [here](https://raw.githubusercontent.com/daxcore/mkdocs-obsidian-interactive-graph-plugin/main/docs/ObsidianVault/assets/javascripts/graph.js){:target="\_blank"} and must be located into the docs directory under `docs/ObsidianVault/assets/javascripts/graph.js`.

setup.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22

33
from setuptools import setup, find_packages
44

5-
VERSION_NUMBER = '0.2.1'
6-
75
def read_file(fname):
86
return open(os.path.join(os.path.dirname(__file__), fname)).read()
97

108
setup(
119
name='mkdocs-obsidian-interactive-graph-plugin',
12-
version=VERSION_NUMBER,
1310
description='A MkDocs plugin that generates a obsidian like interactive graph',
1411
long_description=read_file('README.md'),
1512
long_description_content_type='text/markdown',
@@ -19,9 +16,9 @@ def read_file(fname):
1916
author_email='300ccda6-8d43-4f23-808e-961e653ff7d6@anonaddy.com',
2017
license='MIT',
2118
python_requires='>=3.6',
22-
install_requires=[
23-
'mkdocs-material>=9.0.0'
24-
],
19+
use_scm_version=True,
20+
setup_requires=['setuptools_scm'],
21+
install_requires=['mkdocs-material'],
2522
classifiers=[
2623
'Development Status :: 4 - Beta',
2724
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)