mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-25 00:24:45 +00:00
Publish documentation to the root of gh-pages
This commit is contained in:
parent
e91da6a96a
commit
a5706e233b
2 changed files with 0 additions and 16 deletions
1
.github/workflows/publish-pages.yml
vendored
1
.github/workflows/publish-pages.yml
vendored
|
|
@ -35,5 +35,4 @@ jobs:
|
|||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./doc/html
|
||||
destination_dir: docs
|
||||
commit_message: ${{ github.event.head_commit.message }}
|
||||
|
|
|
|||
|
|
@ -55,18 +55,3 @@ The Web Site is hosted by GitHub Pages from the docs/ directory of the gh-pages
|
|||
|
||||
When updates to LinkChecker are pushed, the web site is built and published
|
||||
automatically by a GitHub action ``.github/workflows/publish-pages.yml``.
|
||||
|
||||
For information, a manual process to build and publish the web site would look like:
|
||||
|
||||
git checkout master
|
||||
|
||||
./setup.py build # for copyright, author and version info
|
||||
make -C doc code
|
||||
make -C doc html
|
||||
|
||||
git checkout -b <branch> gh-pages
|
||||
|
||||
rm -rf docs/*
|
||||
cp -a doc/html/* docs/
|
||||
|
||||
git commit -a -m "Update documentation"
|
||||
|
|
|
|||
Loading…
Reference in a new issue