Skip to content

Commit

Permalink
Sphinx CI experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnovak committed Jul 7, 2024
1 parent e1cdd6a commit e58e426
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sphinx-docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SED = gsed
SOURCEDIR = source
BUILDDIR = build
SITEDIR = ../docs
Expand Down Expand Up @@ -50,8 +51,8 @@ build_manual: gen_html
rm "$(MANUALDIR)/index.html"
mv "$(MANUALDIR)/contents.html" "$(MANUALDIR)/index.html"

cd "$(MANUALDIR)" && find . -type f -name '*.html' -exec sed -i 's|contents.html|index.html|g' {} +
cd "$(MANUALDIR)" && find . -type f -name '*.html' -exec sed -i 's|<p>Hosted on <a href="https://pages.github.com/">GitHub Pages</a></p>||g' {} +
cd "$(MANUALDIR)" && find . -type f -name '*.html' -exec $(SED) -i 's|contents.html|index.html|g' {} +
cd "$(MANUALDIR)" && find . -type f -name '*.html' -exec $(SED) -i 's|<p>Hosted on <a href="https://pages.github.com/">GitHub Pages</a></p>||g' {} +


generate_css:
Expand Down

0 comments on commit e58e426

Please sign in to comment.