Commit f3fc3787 authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

add publications to docs

parent 9e8642f2
......@@ -33,6 +33,7 @@ Contents:
installation
notebooks/Introduction
notebooks/ChangeLog
notebooks/Publications
.. toctree::
......
......@@ -12,11 +12,13 @@ if __name__ == '__main__':
import py_wake
docs_path = Path(py_wake.__file__).parents[1] / 'docs'
if os.path.isdir(docs_path / 'api'):
print("Switch to PDF mode")
for ext in ['*.rst', 'notebooks/*.ipynb']:
for f in docs_path.glob(ext):
svg2eps(f)
(docs_path / 'api').rename("api_hide")
else:
print("Switch to html mode")
for ext in ['*.rst', 'notebooks/*.ipynb']:
for f in docs_path.glob(ext):
svg2eps(f, lambda s: s.replace('.eps', '.svg'))
......
......@@ -11,5 +11,5 @@ plugins = {
}
# 'filled_by_setup.py'
__version__ = '1.0.2'
__release__ = '1.0.2'
__version__ = '2.0.0'
__release__ = '2.0.0'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment