This repo generates the xmpp.org site (temporarily visible on new.xmpp.org until the grand-switch-over).
The xmpp.org website plan describes the site direction and structure.
Please log any issues.
Any editorial questions: Laura Gill or Simon Tennant can help
- Fork the code to your own git repository.
- Make your changes in
/content/pages
or directly in GitHub. - When you are happy with your updates, submit a pull request describing the changes.
- The updates will be reviewed and merged in.
Please use [email protected] for discussions about the site, content, generation etc.
- Commits to the master branch generate a new build.
- Builds are visible at https://travis-ci.org/xsf/xmpp.org/builds
- New content is deployed to gh-pages branch
- and visible on http://new.xmpp.org
Pelican's GETTING STARTED page is a good place to learn about the basics of Pelican (installation, project skeleton, development cycle, etc.).
git clone ssh://[email protected]/xsf/xmpp.org.git
# install Pelican and dependencies
cd xmpp.org
- Pelican 3.3
- ghp-import
- Markdown 2.3.1
make serve
If you want the server to autoreload whenever a file change, you can instead do:
make devserver
View at http://localhost:8000
<repo>
fabfile.py
develop_server.sh
Makefile
README.md
pelicanconf.py (development configuration)
publishconf.py (production configuration)
output
<generated files - published to gh-pages branch>
content
pages
<website page files>
pelican-bootstrap3
<website theme>
To just generate a new version (without starting up a local webserver) just do:
make html
You can modify the theme (layout and styling) in the xmpp.org-theme directory.
Make changes to Sass files, not compiled CSS.
npm i
then run grunt
to compile Sass.