Skip to content

Commit

Permalink
Another attempt to fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed committed Nov 23, 2023
1 parent a1d4008 commit 95da2c7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ coverage:
docs:
rm -f docs/test_doc__*
tox -e docs
cp iommi/static/js/iommi.js docs/_build/html/_static/

docs-viewer:
echo "http://127.0.0.1:10331"
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
def build_finished(app, exception):
print('Running build_finished')
check_call(f"cd {(Path(__file__).parent.parent).absolute()}; python insert_docs_links.py", shell=True)
check_call(f'cp "{(Path(__file__).parent.parent).absolute()}/iommi/static/js/iommi.js" "{(Path(__file__).parent).absolute()}/_build/html/_static/"', shell=True)


def setup(app):
Expand Down
2 changes: 1 addition & 1 deletion iommi/style_bootstrap_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
bootstrap_docs = Style(
bootstrap,
root__assets__doc_style=Asset.css(attrs__href='https://docs.iommi.rocks/en/latest/_static/iframe_custom.css'),
root__assets__iommi_js=Asset.js(attrs=dict(src='/_static/iommi.js')),
root__assets__iommi_js=Asset.js(attrs=dict(src='/en/latest/_static/iommi.js')),
internal=True,
Container=dict(
attrs__class={
Expand Down

0 comments on commit 95da2c7

Please sign in to comment.