Skip to content

Commit

Permalink
Update references to demo and examples folders
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA committed Sep 24, 2021
1 parent 465a379 commit 2b8077f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ jobs:

- name: Run vertical demo
run: |
cd demo/vertical
cd docs/demo/vertical
#python define_ontology.py
#python plot_ontology.py
cd -
- name: Run horizontal demo
run: |
cd demo/horizontal
cd docs/demo/horizontal
#python step1_generate_metadata.py
#python step2_define_metadata.py
#python step3_instantiate.py
Expand Down Expand Up @@ -110,10 +110,10 @@ jobs:
- name: Create EMMO documentation
run: |
cd examples/emmodoc
python ../../tools/ontodoc -f simple-html emmo-inferred emmo-simple.html
python ../../tools/ontodoc -t emmo.md -p no-self-contained emmo-inferred emmo.html
python ../../tools/ontodoc -t emmo.md emmo-inferred emmo.pdf
cd docs/examples/emmodoc
python ../../../tools/ontodoc -f simple-html emmo-inferred emmo-simple.html
python ../../../tools/ontodoc -t emmo.md -p no-self-contained emmo-inferred emmo.html
python ../../../tools/ontodoc -t emmo.md emmo-inferred emmo.pdf
cd -
build_package:
Expand Down
10 changes: 5 additions & 5 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ include README.md LICENSE.txt requirements*.txt
recursive-exclude .github *
exclude .readthedocs.yml

recursive-include demo emmopy/owl ontopy/owl *.owl
recursive-include docs/demo emmopy/owl ontopy/owl *.owl

recursive-include examples/emmodoc *
recursive-exclude examples/emmodoc old/** genfigs/** *.pdf *.html *~
recursive-include docs/examples/emmodoc *
recursive-exclude docs/examples/emmodoc old/** genfigs/** *.pdf *.html *~

recursive-include demo *
recursive-exclude demo old __pycache__ *~ *.pyc *.off
recursive-include docs/demo *
recursive-exclude docs/demo old __pycache__ *~ *.pyc *.off

recursive-include emmo/factpluspluswrapper/java *
14 changes: 7 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@ def fglob(patt):
data_files=[
('share/EMMO-python', ['README.md', 'LICENSE.txt']),
(
'share/EMMO-python/examples/emmodoc',
glob('examples/emmodoc/*.md') +
glob('examples/emmodoc/*.yaml') +
glob('examples/emmodoc/pandoc-*'),
'share/EMMO-python/docs/examples/emmodoc',
glob('docs/examples/emmodoc/*.md') +
glob('docs/examples/emmodoc/*.yaml') +
glob('docs/examples/emmodoc/pandoc-*'),
),
(
'share/EMMO-python/examples/emmodoc/figs',
fglob('examples/emmodoc/figs/*'),
'share/EMMO-pythondocs//examples/emmodoc/figs',
fglob('docs/examples/emmodoc/figs/*'),
),
# ('share/EMMO-python/examples', rglob('examples/**')),
('share/EMMO-python/demo', rglob('demo/**')),
('share/EMMO-python/docs/demo', rglob('docs/demo/**')),
],
)
4 changes: 2 additions & 2 deletions tools/ontodoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ def main():
epilog='The easiest way to generate nice-looking documentation '
'using pandoc is to copy the emmodoc example to the current '
'directory and adapt it. See '
'https://github.com/emmo-repo/EMMO-python/tree/master/examples/emmodoc'
' for more info.'
'https://github.com/emmo-repo/EMMO-python/tree/master/docs/examples'
'/emmodoc for more info.'
)
parser.add_argument(
'iri', metavar='IRI',
Expand Down

0 comments on commit 2b8077f

Please sign in to comment.