Web content for anarchyplanet.org. https://anarchyplanet.org/
Go to file
sceox f68d310cc5 Merge git.anarchyplanet.org/AnarchyPlanet/anarchyplanet-site
Conflicting changes were made to the master branch on different systems. This
commit resolves the conflicts and merges them.
2022-08-01 11:43:18 -07:00
src Merge git.anarchyplanet.org/AnarchyPlanet/anarchyplanet-site 2022-08-01 11:43:18 -07:00
.gitignore Switch to Makefile + ssg build system; add a dynamic nav 2022-01-04 09:39:23 -08:00
config.mk Switch to Makefile + ssg build system; add a dynamic nav 2022-01-04 09:39:23 -08:00
Makefile Switch to Makefile + ssg build system; add a dynamic nav 2022-01-04 09:39:23 -08:00
README.md separate the two contribution methods more clearly 2022-07-31 17:08:33 -07:00
ssg6 Switch to Makefile + ssg build system; add a dynamic nav 2022-01-04 09:39:23 -08:00

Anarchy Planet web site

This repo includes markdown files for the Anarchy Planet web site and tools to generate a static HTML site from the source files.

Contributing

If you are familiar with editing markdown and using git, you should already be able to figure out how to contribute. If not, or if you need a refresher, keep reading.

There are two methods for contributing: direct write, and pull request. Direct write is best if you are already known in Anarchy Planet, and pull request is best if you are a newcomer.

Direct write

Prerequisites

You only have to do these steps once to get set up.

Register an account on https://git.anarchyplanet.org.

Request write access to this repository.

Install a git client.

Configure git:

git config --global user.name <username>
git config --global user.email <email>

Clone this repository.

mkdir ~/projects
cd ~/projects
git clone https://git.anarchyplanet.org/AnarchyPlanet/anarchyplanet-site.git`

Making an edit

Edit the .md files in your preferred editor. They are written in markdown, which comes in different flavors. You you can get an intro to markdown here or read the syntax of the markdown flavor we use here.

Change directory to the repository and commit your changes:

cd ~/projects/anarchyplanet-site
git add -p
git commit

When you do git commit, git will open an editor for you to write a commit message. Write a short summary of the changes you made.

Push your changes:

git push origin master

All done!

Pull request

If you don't have direct write access, you can make a pull request instead. Follow the "Direct write" instructions, but with the following differences:

  • Do not request write access. Instead, visit this repository in your browser and click the green fork button next to the branch label.
  • When you clone, clone your fork.
  • After you push your changes, visit this repository in your browser again and click the green pull request button next to the branch label.
  • Select the branch you made, and open the pull request.

Dependencies

We use lowdown for markdown conversion. See its documentation:

The rest of the heavy lifting is done by a modified version of ssg which is included in this source code. ssg requires a POSIX /bin/sh, and awk.

TODOs

  • TODO discuss and decide on sections
    • notnull's proposals for the sections are:
      • home
      • projects (not services)
      • webring (instead of 'others')
      • contact (probably just a mailto: link)
  • write copy for sections
    • What rocinante has done on anarchist news is already pretty great. Maybe these could be more verbose, but maybe they are fine the way they are!
  • add a favicon
  • use an automatic toc generator