Skip to content

Commit 5ba1794

Browse files
committed
Introduce _ghpages to hold the non-Sphinx static files
1 parent 24f860e commit 5ba1794

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Diff for: Makefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ clean:
1313

1414
build:
1515
-mkdir -p $(BUILDDIR)
16-
-cp "$(SOURCEDIR)/_gitignore.txt" "$(BUILDDIR)/.gitignore"
17-
-cp "$(SOURCEDIR)/versions.json" "$(BUILDDIR)/versions.json"
18-
-cp "$(SOURCEDIR)/index.html" "$(BUILDDIR)/index.html"
16+
-cp "$(SOURCEDIR)/_ghpages/_gitignore.txt" "$(BUILDDIR)/.gitignore"
17+
-cp "$(SOURCEDIR)/_ghpages/versions.json" "$(BUILDDIR)/versions.json"
18+
-cp "$(SOURCEDIR)/_ghpages/index.html" "$(BUILDDIR)/index.html"
1919
-touch "$(BUILDDIR)/.nojekyll"
2020
-sphinx-build "$(SOURCEDIR)/2021.12" "$(BUILDDIR)/2021.12" $(SPHINXOPTS)
2121
-cp -r "$(BUILDDIR)/2021.12" "$(BUILDDIR)/latest"

Diff for: spec/_gitignore.txt renamed to spec/_ghpages/_gitignore.txt

+3
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2222
# SOFTWARE.
2323
#/
24+
#
25+
# Note this file is not intended to be a .gitignore for the main branch, but to
26+
# be copied into gh-pages branch.
2427

2528
_site
2629
build/
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)