This repository contains the source code of Free5GC's website available at https://free5gc.org/
It's required to install the dependencies below:
- pymdown-extensions (mkdocs requirement)
- mkdocs-callouts (mkdocs requirement)
- mkdocs-material (theme)
- For more dependencies, please, check the requirements file
Install the dependencies using the below command
pip install pymdown-extensions mkdocs-callouts
To install the theme use
pip install mkdocs-material
[Optional] To load the packages into a Python virtual environment, use the command below
pip install -r requirements.txt
-
Clone this repository
git clone https://github.com/free5gc/free5gc.github.io.git
-
Enter the project folder
cd free5gc.github.io
-
If not already done, install the requirements using
pip install pymdown-extensions mkdocs-callouts mkdocs-material
Or (to install the full environment)
pip install -r requirements.txt
-
Deploy an instace of the website
mkdocs serve
Note: If the command is successful, a service should be running on port 5000 on your localhost.
-
Go to the repo folder
-
Deploy the local instance of the website using:
mkdocs serve
For full documentation visit mkdocs.org.
mkdocs serve
- Start the live-reloading docs server.mkdocs build
- Build the documentation site.mkdocs -h
- Print help message and exit.
mkdocs.yml # The configuration file.
... # Other webserver related files
docs/
index.md # The documentation homepage.
... # Other markdown pages, images and other files.