Go to file
Tristan B. Velloza Kildaire 83012b0002 Dockerized
- Use docker
2024-03-31 17:13:58 +02:00
docs Feature: Lexer improvements (#3) 2023-12-27 08:24:19 +02:00
docs_src Feature: Lexer improvements (#3) 2023-12-27 08:24:19 +02:00
graphs - Updated `.gitignore` 2023-04-18 17:43:35 +02:00
.gitignore - Added `.gitignore` 2023-07-08 11:45:16 +02:00
Dockerfile Dockerized 2024-03-31 17:13:58 +02:00
README.md Dockerized 2024-03-31 17:13:58 +02:00
build.md - Added build requirements for docs (WIP) 2023-01-13 17:09:50 +02:00
doall.sh Build system 2023-01-22 13:22:57 +02:00
doall_relative.sh Scripts 2023-12-20 20:08:22 +02:00
dockermake.sh Dockerized 2024-03-31 17:13:58 +02:00
helpers.sh - Attempt to fix the tables rendering 2023-04-19 17:36:14 +02:00
makead.sh - New scripts all require pre-processing pandoc firstly 2023-04-18 17:39:10 +02:00
makebook.sh - New scripts all require pre-processing pandoc firstly 2023-04-18 17:39:10 +02:00
makegraphs.sh Build system 2023-01-22 13:11:36 +02:00
makemarkdown.sh - New scripts all require pre-processing pandoc firstly 2023-04-18 17:39:10 +02:00
mkdocs.yml Revert "Mkdocs" 2023-12-22 17:42:32 +02:00
pandoc-plot-book.conf - Added `pandoc-plot` configuration files 2023-04-18 17:41:26 +02:00
pandoc-plot.conf - Added `pandoc-plot` configuration files 2023-04-18 17:41:26 +02:00

README.md

documentation

Official TLang documentation

Usage

Clone the repository and try running:

mkdocs serve

In the root of the repository, if you get an error you will need to install some PIP dependencies.

Contributing

If you would like to edit the documentation then please edit the files in docs_src/ (and NOT in docs/). The former folder is used for the base documentation files and the latter is the result of the post-processing needed to be applied to the Markdown files before they can be used for generating the LaTeX-based book or the Mkdocs website.

Once you have finished making your changes in the files in docs_src/, please then run the post-processing script:

./makemarkdown.sh

This should produce an updated file in docs/ with the same name as the one you edited in docs_src/, commit BOTH files please.

Then you're done!

Docker

First build the image using:

sudo docker build . -t tlangdocs

Then run the build process whenever you need to:

sudo docker run -v $(pwd):/home/tlang/docs:z tlangdocs:latest