Skip to content

Commit e5b161b

Browse files
committed
docsにhtmlが出力されるように修正
1 parent 07eded7 commit e5b161b

File tree

90 files changed

+527
-320
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+527
-320
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,6 @@ build/**
22
dist/**
33
py2hackCraft/__pycache__/**
44
py2hackCraft2.egg-info/**
5+
docs/.doctrees/**
6+
docs/.buildinfo
7+
docs/_build/**

docs/.nojekyll

Whitespace-only changes.

docs/Makefile

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,26 @@
44
# from the environment for the first two.
55
SPHINXOPTS ?=
66
SPHINXBUILD ?= sphinx-build
7-
SOURCEDIR = .
8-
BUILDDIR = _build
7+
SOURCEDIR = source
8+
BUILDDIR = .
99

1010
# Put it first so that "make" without argument is like "make help".
1111
help:
1212
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1313

14-
.PHONY: help Makefile
14+
.PHONY: help Makefile clean-github github
15+
16+
# Clean GitHub Pages files (but keep source directory)
17+
clean-github:
18+
@echo "Cleaning GitHub Pages files from docs root..."
19+
@rm -rf .doctrees .buildinfo *.html *.js _static _sources _modules genindex.html search.html searchindex.js objects.inv
20+
21+
# GitHub Pages target: build HTML directly to docs root
22+
github: clean-github
23+
@echo "Building HTML for GitHub Pages..."
24+
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
25+
@touch .nojekyll
26+
@echo "Done! HTML files are in docs/ root for GitHub Pages"
1527

1628
# Catch-all target: route all unknown targets to Sphinx using the new
1729
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
-542 KB
Binary file not shown.
-2.23 MB
Binary file not shown.

docs/_build/doctrees/index.doctree

-9.64 KB
Binary file not shown.
-7.26 KB
Binary file not shown.
-10 KB
Binary file not shown.

docs/_build/html/.buildinfo

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/_build/html/.buildinfo.bak

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)