Skip to content

Commit 7fe8fc2

Browse files
doc: only use MicroCloud overwrite_links.js
Signed-off-by: Elijah Greenstein <elijah.greenstein@canonical.com>
1 parent 90d659b commit 7fe8fc2

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

doc/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ integrate:
9696
mkdir -p integration/microcloud/_templates/ integration/microcloud/_static
9797
mkdir -p integration/microceph/docs/_templates integration/microceph/docs/_static
9898

99-
# Copy the header HTML and CSS files for the doc sets
99+
# Copy the header HTML and CSS files for the doc sets
100100
cp .sphinx/_integration/microcloud.html integration/microcloud/_templates/header.html
101101
cp .sphinx/_integration/override-header.css integration/microcloud/_static/
102102
cp .sphinx/_integration/lxd.html integration/lxd/doc/_templates/header.html
@@ -106,6 +106,9 @@ integrate:
106106
cp .sphinx/_integration/microovn.html integration/microovn/docs/.sphinx/_templates/header.html
107107
cp .sphinx/_integration/header.css integration/microovn/docs/.sphinx/_static/
108108

109+
# Copy the JavaScript to overwrite links
110+
cp _static/js/overwrite_links.js integration/lxd/doc/_static/js/overwrite_links.js
111+
109112
# Add information about where to find the tags/docs to the doc sets
110113
cat .sphinx/_integration/add_config.py >> integration/lxd/doc/conf.py
111114
cat .sphinx/_integration/add_config.py >> integration/microceph/docs/conf.py
@@ -230,4 +233,4 @@ spellcheck: spelling
230233
# "make mode" option. $(O) is meant as a shortcut for $(SPHINX_OPTS).
231234
%:
232235
$(MAKE) --no-print-directory install
233-
. $(DOCS_VENV); $(SPHINX_BUILD) -M $@ "$(DOCS_SOURCEDIR)" "$(DOCS_BUILDDIR)" $(SPHINX_OPTS) $(O)
236+
. $(DOCS_VENV); $(SPHINX_BUILD) -M $@ "$(DOCS_SOURCEDIR)" "$(DOCS_BUILDDIR)" $(SPHINX_OPTS) $(O)

0 commit comments

Comments
 (0)