Skip to content

Commit

Permalink
- add a link to a second page for maintenance instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed May 27, 2017
1 parent 149fcd1 commit 324377e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
17 changes: 17 additions & 0 deletions HOWTO.md
@@ -0,0 +1,17 @@
# How to maintain the Zope versions page

The [Zope version configuration page](./README.md) and the linked
version and requirements files are built from a special branch of
the [Zope GitHub repository](https://github.com/zopefoundation/Zope).

```bash
$ git clone -b gh-pages git@github.com:zopefoundation/Zope
$ cd Zope
$ ./build_indexes
$ git add README.md releases/
$ git commit -m "Add new Zope releases."
$ git push origin gh-pages
```

The end result is available at https://zopefoundation.github.io/Zope/.

4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -35,3 +35,7 @@
* [versions-prod.cfg](releases/2.13.26/versions-prod.cfg)
* [requirements.txt](releases/2.13.26/requirements.txt)


_____

[How to maintain this page](HOWTO.md)
4 changes: 4 additions & 0 deletions build_index.sh
Expand Up @@ -25,3 +25,7 @@ for tag in "2.13.26"; do
git show $tag:requirements.txt > releases/$tag/requirements.txt && printf "* [requirements.txt](releases/$tag/requirements.txt)\n" >> README.md || rm releases/$tag/requirements.txt
printf "\n" >> README.md
done

# Add a footer
printf "\n_____\n\n" >> README.md
printf "[How to maintain this page](HOWTO.md)\n" >> README.md

0 comments on commit 324377e

Please sign in to comment.