https://github.com/twisted/twisted.github.io
This is the repo for the Twisted Matrix presentation site
https://github.com/twisted/twisted.github.io
Last synced: about 1 year ago
JSON representation
This is the repo for the Twisted Matrix presentation site
- Host: GitHub
- URL: https://github.com/twisted/twisted.github.io
- Owner: twisted
- License: mit
- Created: 2021-08-05T22:40:50.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-11-26T09:13:42.000Z (over 1 year ago)
- Last Synced: 2025-06-10T00:57:01.948Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://twisted.org/
- Size: 1.19 MB
- Stars: 6
- Watchers: 17
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/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](https://tailwindcss.com/docs/) 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
```