The content on this account/repository provided solely for educational and informational purposes. It is not intended for use in making any kind of business, investment and/or legal decisions. Although every effort has been made to keep the information up-to-date and accurate, no representations and/or warranties, express and/or implied, completeness, accuracy, reliability, suitability, and/or availability of the content.
This Project contains template for hosting Git pages. The documentation is generated using mkdocs.
Once the documentation is generated it can easily published either on GitLab Pages or Github Pages.
This project uses poetry to manage dependencies. The below commands can be used to manage dependencies.
# Add any new dependency package.
poetry add package-name
# Remove any dependency package.
poetry remove package-name
# Update packages.
poetry update
This project uses mkdocs for generating documentation. The below commands can be used to interact with mkdocs.
# The initial project created for this repository using below command.
poetry run mkdocs new .
# Start the mkdocs server.
poetry run mkdocs serve
# Build the documentation site.
poetry run mkdocs build
This repository also contains a .gitlab-ci.yml
file for building the documentation using mkdocs in GitLab CI Pipeline.
.gitlab-ci.yml
Following variables in the CI environment must be available to publish the Pages in GitLab CI.
These can be found at GitLab Predefined Variables
This required to create a tag using GitLab CI.
- PROJECT_ACCESS_TOKEN
These are specific to the needs.
This repository also contains a .github/workflows
directory for building the documentation using mkdocs in GitHub actions. Deployed pages are available at Git Pages Templates.
GitHub Actions