All Projects → dylan-lang → website

dylan-lang / website

Licence: other
Open Dylan project website

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
shell
77523 projects
CSS
56736 projects
Batchfile
5799 projects
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to website

network-night-vision
IP stack written in Dylan - includes binary parsing and interactive GUI
Stars: ✭ 22 (+83.33%)
Mutual labels:  dylan

This is the Open Dylan website.

It is built using Sphinx. All content is written using ReStructured Text with Sphinx extensions.

Preparation

Installing system dependencies

Some system dependencies need to be satisfied first:

  • Python 3 and its package manager pip3. (It may also be installed as just "pip", but check whether that installs Python 2 packages.)
  • Git
  • Make

On a Debian-derivative, they're quite easy to fetch:

sudo apt install python3 python3-pip git make

Getting the source

The next step is fetching the repository and its submodule:

git clone https://github.com/dylan-lang/website.git  # or your fork
git submodule update --init --recursive

Installing Sphinx

Now you need the Python dependencies. The easiest way to do this is to use pip3:

sudo pip3 install -U Sphinx

You may also need python-dateutil.

sudo pip3 install python-dateutil

Building

Building the website is easy on a system with make:

make

If you are on Windows, there is a make.bat as well. It currently requires that you run it with an argument:

make.bat html

The generated site will be in build/html. For the stylesheets and JavaScript to load correctly, we suggest running a local webserver pointing to this directory:

cd build/html
python3 -m http.server

Link Validation

Sphinx also makes it easy to check that all of the links to external sites are valid. You can run the link checker by:

make linkcheck

Site Maintenance

New Binary Release

  1. Update the appropriate info on the download page.
  2. Add a recent news entry. (See below for notes on that.)

Updating Documentation

The update-opendylan.org.sh script is run by cron to update the documentation in various repositories by essentially doing a git pull and make html. These are the docs linked from the main Documentation page.

New News Entry

  1. Create an article about it (even if very short) in the appropriate date hierarchy in source/news. The hierarchy should be year/month/day. This article must have 2 metadata fields in it:

    :Author: Hannes Mehnert
    :Date: 2001-08-11 09:00:00
    
  2. Add it to source/news/recent.rst.inc

  3. If there are too many entries in that file, move some to source/news/index.rst.

  4. Confirm that the site's main page and news page both look good / correct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].