Fab Academy student documentation
Visit fabacademy.org for class and other information or read the Documentation Tutorial for more about this site.
- This website is built and published automatically using GitLab CI, every time you edit the files in the docs folder
- The markdown content is generated into a site using the Mkdocs tool, a static site generator written in Python
- You can start by customizing the file
mkdocs.yml
with your information- To change the looks of your website, use the theme options found in the
mkdocs.yml
file or see the names of the available themes
- To change the looks of your website, use the theme options found in the
- If you want to start a website from scratch, you can delete everything in this repository and push your own static website
Project layout
mkdocs.yml # The site configuration file.
docs/ # All site content/files should be in this folder.
index.md # The homepage.
files/ # Put files you'd like available in your site here (except videos)
images/ # You can put your images in here
... # Other markdown pages and folders
Read more about MkDocs at mkdocs.org.
Building locally
To work locally on your computer with this project, you can start with the following the steps:
- Fork, clone or download this project
- Install MkDocs on your computer
- Preview your project:
mkdocs serve
, your site can be accessed underlocalhost:8000
- To add new pages, create the markdown file in the
docs/
folder (i.e.touch docs/about.md
) - Generate the website into a static site,
mkdocs build
(optional) Or just push your changes to GitLab
Run with docker
For those that know how to use Docker, you can easily run mkdocs server without installing mkdocs.
Use this command with the Mkdocs-Material theme (see more info on Docker Hub).
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material