Skip to content

This is the repo for the Twisted Matrix presentation site

License

Notifications You must be signed in to change notification settings

twisted/twisted.github.io

Folders and files

NameName
Last commit message
Last commit date
Oct 16, 2024
Jun 23, 2022
Jun 22, 2022
Jul 4, 2022
Jul 4, 2022
Jul 1, 2022
Aug 5, 2021
Jul 7, 2022
Aug 5, 2021
Nov 26, 2024
Jul 4, 2022
Jun 22, 2022
Jul 1, 2022

Repository files navigation

Twisted website

Most of the content is hosted in this repository.

The legacy documentation pages for the /documents/ URL is hosted in a separate repository at twisted/documents.

Development of the website

You can run a local test server via $ python3 test_server.py. It is designed to replicate the same 404 behavior as GitHub Pages.

Tools

This project is using Tailwind v3 in the 404.html page. Use the tw- prefix with Tailwind CSS classes.

Node/npm is required to update the /build/css/tailwind.css file.

You can get nodejs on your system via Python as:

virtualenv venv
. venv/bin/activate
pip install nodeenv
nodeenv node-env
. node-env/bin/activate

JS development

jest is used for the test suite.

./node_modules/.bin/jest

CSS development

Use this command when developing for the CSS file to be updated automatically with your Tailwind classes:

npm run dev

To minify the file run:

npm run build