Skip to content

Adding MKDocs Workflow #435

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Adding MKDocs Workflow #435

merged 2 commits into from
Aug 1, 2024

Conversation

devsetgo
Copy link
Owner

@devsetgo devsetgo commented Aug 1, 2024

Pull Request Description: Adding MKDocs Workflow

This pull request introduces a new GitHub Actions workflow to automate the deployment of project documentation using MkDocs. The primary motivation behind this change is to ensure that our documentation is consistently built and published to GitHub Pages whenever changes are made to the main branch.

Key Changes:

  1. New Workflow File: A new YAML file (build_mkdocs.yml) has been added to the .github/workflows/ directory. This file defines the steps required to build and deploy the documentation.

  2. Documentation Build Process:

    • Python Setup: The workflow sets up a Python environment and installs the necessary dependencies from requirements.txt.
    • Changelog Generation: A script is run to generate the changelog, ensuring that the latest changes are reflected in the documentation.
    • MkDocs Build: The documentation is built using MkDocs, creating a static site.
    • Documentation Deployment: Finally, the built site is deployed to GitHub Pages, making it accessible to users.
  3. File Management: The workflow also copies essential files like README.md, CONTRIBUTING.md, and CHANGELOG.md into the docs directory, ensuring that they are included in the documentation site.

Benefits:

  • Automation: This workflow automates the documentation deployment process, reducing manual effort and potential human error.
  • Up-to-Date Documentation: By automatically updating the documentation whenever changes are pushed to the main branch, we ensure that users always have access to the latest information.
  • Improved Visibility: Hosting documentation on GitHub Pages increases its visibility and accessibility for users and contributors.

This addition will significantly enhance our project by providing a streamlined process for maintaining and sharing our documentation.

@devsetgo devsetgo added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 1, 2024
Copy link

sonarqubecloud bot commented Aug 1, 2024

@devsetgo devsetgo merged commit 99ffada into main Aug 1, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant