Skip to content

Documentation hosting on Github Pages #11

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 14 commits into from
Aug 7, 2025
Merged

Documentation hosting on Github Pages #11

merged 14 commits into from
Aug 7, 2025

Conversation

Hoodie-Huuuuu
Copy link
Collaborator

@Hoodie-Huuuuu Hoodie-Huuuuu commented Jul 31, 2025

Before this PR, the only way to access the documentation was by browsing through the repository's markdown files.
Using the mkdocs framework, an alternative way was created to view documentation as a website.

This patch contains:

  • Mkdocs config file mkdocs.yml.
  • Small corrections in .md files for more correct rendering on the website.
  • Custom hooks before site build to ensure .md file links remain accurate in both the website and repository versions of the docs.
  • CI workflow to deploy the documentation site to GitHub Pages.

To check how the site looks locally, you need to:

make doc

Open documentation on http://localhost:8000/

Important:

  • In the repository settings, set the Github Actions source for Github Pages.
    Settings -> Pages -> Build and deployment: "GitHub Actions"
  • The documentation is deployed in the github-pages environment.
    You can set up rules for each environment (for example, a timer for deferred deployment)
    Settings -> Environment -> [env-name]

Copy link
Collaborator

@hackallcode hackallcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! However, let's tune some things

Copy link
Collaborator

@hackallcode hackallcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few more comments

choseenonee
choseenonee previously approved these changes Aug 6, 2025
Copy link
Collaborator

@choseenonee choseenonee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've did a good job!

Co-authored-by: Vladimir Severov <[email protected]>
Copy link
Collaborator

@hackallcode hackallcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really great! Thank you!

@hackallcode hackallcode merged commit 897ffa0 into master Aug 7, 2025
14 checks passed
@hackallcode hackallcode deleted the mkdocs branch August 7, 2025 08:11
hackallcode added a commit that referenced this pull request Aug 7, 2025
Before this PR, the only way to access the documentation was by browsing through the repository's markdown files.
Using the mkdocs framework, an alternative way was created to view documentation as a website.

This patch contains:
- Mkdocs config file `mkdocs.yml`.
- Small corrections in .md files for more correct rendering on the website.
- Custom hooks before site build to ensure .md file links remain
  accurate in both the website and repository versions of the docs.
- CI workflow to deploy the documentation site to GitHub Pages.

To check how the site looks locally, you need to:

```
make doc
```

Open documentation on http://localhost:8000/

Important:
- In the repository settings, set the Github Actions source for Github Pages.
  Settings -> Pages -> Build and deployment: "GitHub Actions"
- The documentation is deployed in the `github-pages` environment.
  You can set up rules for each environment (for example, a timer for deferred deployment)
  Settings -> Environment -> [env-name]

Co-authored-by: Vladimir Severov <[email protected]>
hackallcode added a commit that referenced this pull request Aug 7, 2025
Before this PR, the only way to access the documentation was by browsing through the repository's markdown files.
Using the mkdocs framework, an alternative way was created to view documentation as a website.

This patch contains:
- Mkdocs config file `mkdocs.yml`.
- Small corrections in .md files for more correct rendering on the website.
- Custom hooks before site build to ensure .md file links remain
  accurate in both the website and repository versions of the docs.
- CI workflow to deploy the documentation site to GitHub Pages.

To check how the site looks locally, you need to:

```
make doc
```

Open documentation on http://localhost:8000/

Important:
- In the repository settings, set the Github Actions source for Github Pages.
  Settings -> Pages -> Build and deployment: "GitHub Actions"
- The documentation is deployed in the `github-pages` environment.
  You can set up rules for each environment (for example, a timer for deferred deployment)
  Settings -> Environment -> [env-name]

Co-authored-by: Vladimir Severov <[email protected]>
hackallcode added a commit that referenced this pull request Aug 7, 2025
Before this PR, the only way to access the documentation was by browsing through the repository's markdown files.
Using the mkdocs framework, an alternative way was created to view documentation as a website.

This patch contains:
- Mkdocs config file `mkdocs.yml`.
- Small corrections in .md files for more correct rendering on the website.
- Custom hooks before site build to ensure .md file links remain
  accurate in both the website and repository versions of the docs.
- CI workflow to deploy the documentation site to GitHub Pages.

To check how the site looks locally, you need to:

```
make doc
```

Open documentation on http://localhost:8000/

Important:
- In the repository settings, set the Github Actions source for Github Pages.
  Settings -> Pages -> Build and deployment: "GitHub Actions"
- The documentation is deployed in the `github-pages` environment.
  You can set up rules for each environment (for example, a timer for deferred deployment)
  Settings -> Environment -> [env-name]

Co-authored-by: Vladimir Severov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants