Skip to content

feat(add-docs): Add documentation#1208

Open
66Bunz wants to merge 5 commits intoFuzzyGrim:devfrom
66Bunz:feat/add-docs
Open

feat(add-docs): Add documentation#1208
66Bunz wants to merge 5 commits intoFuzzyGrim:devfrom
66Bunz:feat/add-docs

Conversation

@66Bunz
Copy link
Copy Markdown
Contributor

@66Bunz 66Bunz commented Feb 16, 2026

This closes #1206

Preview: https://66bunz.github.io/Yamtrack/

This PR adds the documentation (copied from the current Wiki) using Material for MkDocs

Also the build workflow was added at build-docs.yml, the action was copied from the official documentation.

To deploy using GitHub Pages, from the settings of the repo > Pages > Source the gh-pages branch needs to be selected.

Copilot AI review requested due to automatic review settings February 16, 2026 11:25
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @66Bunz, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the project's documentation by introducing a robust and user-friendly system based on Material for MkDocs. It centralizes all project information, from administration guides to environment variable configurations and social authentication setups, into a single, navigable portal. The inclusion of an automated build and deployment process ensures that the documentation remains up-to-date and easily accessible, greatly improving the overall user and developer experience.

Highlights

  • New Documentation System: A comprehensive documentation system has been implemented using Material for MkDocs, replacing the previous wiki-based documentation.
  • Wiki Content Migration: Existing content from the project's GitHub Wiki has been migrated and structured within the new MkDocs framework, ensuring all relevant information is centralized.
  • Automated Documentation Build: A GitHub Actions workflow has been added to automate the building and deployment of the documentation, streamlining the update process and ensuring consistency.
Changelog
  • docs/administration.md
    • Added detailed instructions for enabling and logging into the admin interface.
    • Included steps for changing existing users to admin and creating new admin users.
    • Provided an overview of the admin interface with an example for editing item images.
  • docs/env-variables.md
    • Added a comprehensive list of environment variables categorized by Media Sources, Redis and Django Settings, User and System Configuration, Celery Health Check, PostgreSQL, Docker Secrets, and Host under subpath.
    • Included a new section for REQUESTS_CA_BUNDLE for self-signed certificates.
  • docs/index.md
    • Added the main landing page for the documentation, featuring project badges, a demo link, and a detailed list of Yamtrack's features.
    • Included a rich set of screenshots showcasing various UI aspects like homepage, calendar, media lists, details, tracking, and import/export functionalities.
    • Provided installation instructions for Docker, reverse proxy setup, and local development.
    • Outlined ways to support the project, including starring, bug reports, feature suggestions, contributing, and donations.
  • docs/media-imports.md
    • Added documentation for various media import sources, including Trakt, Simkl, AniList, and Steam.
    • Detailed configuration steps for public and private profile imports, including OAuth setup for Trakt and AniList.
    • Provided a comprehensive table outlining the Yamtrack CSV format for bulk media imports.
  • docs/requirements.txt
    • Added Python package dependencies required for building the MkDocs documentation, including mkdocs-material and various MkDocs plugins.
  • docs/social-auto.md
    • Added documentation for social authentication using django-allauth.
    • Provided instructions for enabling and configuring social providers, with examples for OpenID Connect (Authelia, Authentik) and GitHub.
    • Explained how to connect social accounts to existing users and additional options like disabling local authentication, redirecting login to SSO, and disabling registration.
  • docs/stylesheets/extra.css
    • Added a custom CSS file to define a primary color for the MkDocs theme.
  • mkdocs.yml
    • Added the main configuration file for Material for MkDocs.
    • Configured site metadata, repository links, theme settings (including features and color palette), and various MkDocs plugins (search, git-revision-date-localized, git-committers, git-authors).
    • Included custom CSS files and markdown extensions for enhanced documentation features.
Ignored Files
  • Ignored by pattern: .github/workflows/** (1)
    • .github/workflows/build-docs.yml
Activity
  • The pull request introduces a new documentation system using Material for MkDocs.
  • Existing wiki content has been migrated to the new documentation structure.
  • A GitHub Actions workflow (build-docs.yml) was added to automate the building and deployment of the documentation to GitHub Pages.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a comprehensive documentation site for the project using MkDocs, which is a great initiative. The documentation is well-structured and covers various aspects from administration to environment variables. My review focuses on improving consistency, fixing broken/outdated links that still point to the old wiki, and enhancing the overall user experience of the new documentation site. I've provided specific suggestions to address these points.

2. **Create a New User**: Use the following code to create a new user. Replace `new_username`, `new_password`, and `new_email` with the desired values.

```python
User.objects.create_user(username='new_username', password='new_password', is_staff=True, is_superuser=True)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The documentation text on line 45 mentions new_email, but this code snippet for creating a new user doesn't include it. This could be confusing for users. To maintain consistency, please add the email parameter to the create_user call.

Suggested change
User.objects.create_user(username='new_username', password='new_password', is_staff=True, is_superuser=True)
User.objects.create_user(username='new_username', password='new_password', email='new_email', is_staff=True, is_superuser=True)

repo_name: FuzzyGrim/Yamtrack
repo_url: https://github.com/FuzzyGrim/Yamtrack
copyright: Copyright &copy; 2022 - 2026 FuzzyGrim
edit_uri: edit/main/docs/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

To improve the structure and user experience of the documentation, consider explicitly defining the navigation structure using the nav key. This gives you control over the order and titles of the pages in the navigation. For example, you could add the following between copyright and edit_uri:

nav:
  - 'Home': 'index.md'
  - 'Administration': 'administration.md'
  - 'Environment Variables': 'env-variables.md'
  - 'Media Imports': 'media-imports.md'
  - 'Social Authentication': 'social-auto.md'

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.38%. Comparing base (7a81993) to head (d0a0440).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1208   +/-   ##
=======================================
  Coverage   81.38%   81.38%           
=======================================
  Files          70       70           
  Lines        7258     7258           
=======================================
  Hits         5907     5907           
  Misses       1351     1351           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a MkDocs (Material) documentation site to replace/augment the GitHub Wiki content, and introduces a GitHub Actions workflow to publish the docs to GitHub Pages.

Changes:

  • Add mkdocs.yml configuration for Material for MkDocs with git metadata plugins and custom styling.
  • Add initial docs pages (index, env vars, media imports, social auth, administration) plus a logo asset.
  • Add a GitHub Actions workflow to deploy the MkDocs site to gh-pages.

Reviewed changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
mkdocs.yml MkDocs Material configuration (theme, plugins, site metadata, extra CSS).
docs/stylesheets/extra.css Custom theme color override.
docs/social-auto.md Social authentication documentation page.
docs/requirements.txt Python dependencies for building the docs site.
docs/media-imports.md Media imports documentation page.
docs/index.md Documentation homepage content (largely README-like).
docs/env-variables.md Environment variables documentation page.
docs/assets/logo.png Logo asset for the docs theme.
docs/administration.md Administration / Django admin enablement guide.
.github/workflows/build-docs.yml Workflow to build and deploy docs to GitHub Pages via mkdocs gh-deploy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +2 to +8
site_url: https://FuzzyGrim.github.io/Yamtrack/
site_author: FuzzyGrim
site_description: >-
Yamtrack is a self hosted media tracker for movies, tv shows,
anime, manga, video games, books, comics, and board games.
repo_name: FuzzyGrim/Yamtrack
repo_url: https://github.com/FuzzyGrim/Yamtrack
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

The PR description/preview references 66bunz.github.io/Yamtrack, but mkdocs.yml hardcodes site_url, repo_url, and repo_name to FuzzyGrim/.... If this is being deployed from a different org/user repo, canonical URLs, edit links, and repository metadata in the generated site will be incorrect; please align these values (or update the PR description if FuzzyGrim is correct).

Copilot uses AI. Check for mistakes.
Comment on lines +1 to +8
name: build-docs
on:
push:
branches:
- main
permissions:
contents: write
jobs:
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

This PR adds/modifies a workflow under .github/workflows/, but the existing App Tests workflow (.github/workflows/app-tests.yml) has a PR gate that fails the run whenever workflow files are changed. As-is, this will make CI fail for this PR and block merging unless that guard is adjusted or this workflow is introduced via a maintainer-only change path.

Copilot uses AI. Check for mistakes.
- Correctly rename `social-auth` from `social-auto` page
- Fix links in documentation
- Fix inline code formatting
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.

[Feature Request] Add documentation website

2 participants