| commit | c76ead727b704b84aee33f94b2e190c4f7b0e4d0 | [log] [tgz] | 
|---|---|---|
| author | Chris Thistlethwaite <christ@apache.org> | Mon Oct 24 12:46:59 2022 -0400 | 
| committer | Chris Thistlethwaite <christ@apache.org> | Mon Oct 24 12:46:59 2022 -0400 | 
| tree | 0cebf5740fe1e71de980e28ab2a9c08c56ca93d2 | |
| parent | 104b582941b211fa56a2b8d90184f1079963410f [diff] | 
OF: index.html didn't get built
This is the future of the Apache Infrastructure team's website. Work in progress; this is the long-term replacement for infra.a.o
This builds the website and puts its pages in output/
virtualenv $venvname source $venvname/bin/activate pip install -r requirements.txt git pull origin master # Edit all the markdown! (infrastructure-website/content/pages/) pelican -t theme
To preview:
cd output/ python -m pelican.server # Browse to localhost:8000
Any time you check in a file, the site regenerates: https://ci2.apache.org/#/builders/3
The gfm_reader.py script points to a specific directory on bb-slave1 for loading the libcmark-gfm.so and libcmark-gfmextensions.so libraries. The path should be adjusted for your local installation.
Run build_cmark.sh to build the two libraries. It is then helpful to create a directory (say, build_cmark/lib) with two symlinks from the .so to the longer, version-specific libraries that the above shell script builds.
To stage a preview of what a PR would result in, be sure to name your branches using the preview/$foo syntax, for instance preview/cleanup-dec-2021. This will auto-build and -stage your changes and make them available at infra-$foo.staged.apache.org, i.e. infra-cleanup-dec-2021.staged.apache.org