You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order for the build HTML book to be viewable on GitHub Pages it should be named index.hml. This requires some changes in the build toolchain.
Change docs_src/build.sh so that:
it builds the HTML doc in ../hugo-book.html (root folder).
Copies of ../hugo-book.html to docs/index.html.
The above will ensure that the root folder of the repo will contain both the AsciiDoc preprocessed version of the book as well as its HTML version properly named:
hugo-book.asciidoc
hugo-book.html
This is what most users will expect, so it justifies having a redundant copy of the HTML book in docs/, because the file named index.html is only useful for the website.
The text was updated successfully, but these errors were encountered:
Edit `docs_src/build.sh` so that it generates the HTML book in the repo
root, and then create a renamed copy as `docs/index.html` to be served
on the WWW via GitHub Pages. (closes#49)
* Update documents accordingly.
* Fix HTML Live links accordingly.
In order for the build HTML book to be viewable on GitHub Pages it should be named
index.hml
. This requires some changes in the build toolchain.docs_src/build.sh
so that:../hugo-book.html
(root folder).../hugo-book.html
todocs/index.html
.The above will ensure that the root folder of the repo will contain both the AsciiDoc preprocessed version of the book as well as its HTML version properly named:
hugo-book.asciidoc
hugo-book.html
This is what most users will expect, so it justifies having a redundant copy of the HTML book in
docs/
, because the file namedindex.html
is only useful for the website.The text was updated successfully, but these errors were encountered: