xmpp.org website https://travis-ci.org/xsf/xmpp.org/builds

wurstsalat f73a088e75 News: Improve rendering of post tags 1 week ago
.github 017e2c88dd Github actions: Bump Hugo version 1 month ago
archetypes b1c175027b Add default blog post parameters 2 years ago
config 73a216f545 Nav: Rename GSoC entry 2 weeks ago
content 3d21c40122 Update description of MongooseIM 1 week ago
data 15e03456dd Remove everyone but Kev and Daniel from the editor list 2 weeks ago
deploy 74448587aa Specifications: Update redirect to latest Compliance Suite 2 months ago
static de412e7e94 EDITORIAL CLOSING: XMPP Newsletter March 2024 (#1366) 1 week ago
themes f73a088e75 News: Improve rendering of post tags 1 week ago
tools 4354ee6df0 Extensions: Show implementated since (software version) 2 weeks ago
.gitattributes de3d82527a Switch to Hugo site generator 2 years ago
.gitignore 5fda460987 Extensions: Add XEP implementations only on demand 1 month ago
.pre-commit-config.yaml d985726870 Tools: Bump Github actions 8 months ago
Dockerfile 6aa4fa3b95 Docker: Add curl dependency 1 month ago
Makefile 99fa88f0ca Clean up build process and files 1 year ago
README.md d985726870 Tools: Bump Github actions 8 months ago
pyproject.toml 1ca7ff66ff Tools: Add more ruff rules and fixes 3 months ago

README.md

xmpp.org

Build Website

Please log any issues.

Contributing new content and updates

  • Fork the code to your own git repository.
  • Make your changes in /content or directly via GitHub.
  • When you are happy with your updates, submit a pull request describing the changes.
  • IMPORTANT: Before sending a Pull Request make sure that your forked repo is in sync with the base repo.
  • The updates will be reviewed and merged in.

Communication forum

Please use xsf@muc.xmpp.org for discussions about the site, content, generation etc.

Site generation

  • Commits to the master branch generate a new build.
  • Builds are visible at Github Actions.
  • Changes will be visible on xmpp.org after the next update.

Build instructions

Clone this repository:

git clone ssh://git@github.com/xsf/xmpp.org.git
cd xmpp.org

Build locally or via Docker:

Regular build

To run a development server on your local machine, follow these basic steps. You need to have the following dependencies installed:

  • Hugo
  • Python >=3.11
  • lua (>=5.2) and lua-expat

The development server will automatically rebuild the page whenever a file is changed:

make serve

View at http://localhost:1313

Docker build

To build and serve the website locally, simply run:

docker build -t xmpp-org --build-arg BASEURL=http://localhost/ --build-arg BUILDFUTURE=--buildFuture .

It will do the following:

  • Build a Docker image with a complete set of dependencies ready.
  • Generate the website from the locally checked out xmpp.org repository (make publish). This includes rules from deploy/xsf.conf.

For development convenience, you can serve the website locally:

docker run -p 80:80 -t -i xmpp-org

View at http://localhost:80

Development

Repository structure

<repo>
  public
    <generated files>
  content
    <website page files>
  themes
    <website theme>

Introduction to Hugo

Hugo’s quickstart page is a good place to learn about the basics of Hugo (setup, project skeleton, development cycle, etc.).

Theme development

xmpp.org's theme makes use of:

The theme (layout and styling) can be customized in the /themes/xmpp.org directory.

You can directly modify styles in themes/xmpp.org/assets/css/style.css.