Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 2.35 KB

README.md

File metadata and controls

55 lines (34 loc) · 2.35 KB

eScriptorium Tutorial

This GitHub repository stores the source code for the eScriptorium documentation. It is a collective initiative, open to anyone and designed to be modified by anyone.

The eScriptorium Documentation website is powered by MkDocs and hosted on readthedocs. All the source files of the pages are written in Markdown, which is a light markup language facilitating future editions.

For more information on Markdown's syntax, see the cheat-sheet.

Contribute

Anyone can contribute to this project by:

  • listing errors in a dedicated issue, preferably offering solutions;
  • editing the files (see below) and opening pull requests, preferably justifying the necessity of the edition;
  • picking up tasks from the issues board, in particular those tagged with "help wanted".

Editions can be minor (you spot a missing s, a broken link, etc) or major (a piece of information is out-dated, you want to add a whole new page, etc). Any reasonable modification is welcome, as long as it helps keep this documentation up-to-date with the core eScriptorium application.

Edit the files and run a local test server

The following steps will allow you to locally test the success of the website's build before pushing your modifications to the project.

  1. Clone this repository and move to the corresponding directory
git clone git@github.com:alix-tz/escriptorium-documentation.git
cd escriptorium-tutorial/
  1. Create your own local branch
git checkout -b my-new-branch
  1. Create a Python 3.8 virtual environment and install mkdocs from requirements

(with conda)

conda -n create venv python=3.8
pip install -r requirements.txt
  1. Start the dev server
mkdocs serve

Open up http://127.0.0.1:8000/ in your browser to see the default home page.

Note that the local server will automatically reload the content when you save a document.

For more information on how to install and use mkdocs, see the official documentation.