-
I created the basic PUBLIC repository on GitHub with a README file, a .gitignore file, and MIT License.
-
I cloned that repository to my local machine using the following command:
git clone <name-of-my-repo>
-
I set up a virtual environment using Poetry:
poetry init poetry add mkdocs poetry add mkdocs-material poetry add mkdocs-material-extensions
-
Initialized the mkdocs files with the following command:
poetry run mkdocs new .
-
Created a new page named
downloads.md
in the/docs
directory. -
Edited the configuration file
mkdocs.yaml
to include the following:a.
site_url
b.repo_url
c.repo_name
d.favicon
e.logo
f.icon/repo
g.extra/analytics
For more details, refer to the Mkdocs Material Documentation.
-
Tested all the changes using:
poetry run mkdocs serve
-
Created the
.github/workflows/ci.yaml
file following the instructions in Mkdocs Material Documentation. -
Pushed all the changes using the commands:
git add --all git push origin main
-
Configured the GitHub Page as shown in the image below:
- Accessed the page using the original link: