Skip to content

Commit

Permalink
WIP: Adds a way to build the docs without main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Oct 27, 2022
1 parent 48443c7 commit 8443859
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: docs clean
.PHONY: docs clean html-noplot

clean:
echo clean
Expand All @@ -19,7 +19,7 @@ docs: clean docs-install docs-build
html: clean docs-build

html-noplot: clean
python -qr docs/_scripts/prep_docs.py
python docs/_scripts/prep_docs.py
NAPARI_APPLICATION_IPY_INTERACTIVE=0 sphinx-build -D plot_gallery=0 -b html docs/ docs/_build

linkcheck-files:
Expand Down
2 changes: 1 addition & 1 deletion docs/api/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(api)=
# API Reference

Information on specific functions, classes, and methods.
Information on specific functions, classes, and methods for napari version {{ napari_version }}

```{tableofcontents}
```
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,10 @@

myst_heading_anchors = 3

myst_substitutions = {
"napari_version": release,
}

nb_output_stderr = 'show'

panels_add_bootstrap_css = False
Expand Down

0 comments on commit 8443859

Please sign in to comment.