Skip to content
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

MkDocs documentation #26

Open
lmmx opened this issue Sep 7, 2024 · 0 comments
Open

MkDocs documentation #26

lmmx opened this issue Sep 7, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@lmmx
Copy link
Owner

lmmx commented Sep 7, 2024

This mkdocs config was drafted but "review and resubmit":

site_name: Page Dewarp
site_author: Louis Maddox
site_description: >-
  Document image dewarping library using a cubic sheet model
site_url: https://page-dewarp.readthedocs.io/
repo_name: lmmx/page-dewarp
repo_url: https://github.com/lmmx/page-dewarp
strict: true
watch: [src]

extra_css:
  - stylesheets/extra.css

copyright: Copyright © 2021-present Louis Maddox

theme:
  name: material
  custom_dir: docs/theme
  palette:
    - scheme: default
      primary: white
  icon:
    repo: fontawesome/brands/github
  features:
    - announce.dismiss
    - content.tabs.link
    - content.code.annotate
    - content.code.copy
    - header.autohide
    - navigation.indexes
    - navigation.instant
    - navigation.instant.progress
    - navigation.prune
    - navigation.tabs
    - navigation.tabs.sticky
    - navigation.sections
    - search
    - search.suggest
  font:
    text: Inter
    code: Source Code Pro

extra:
  social:
    - icon: fontawesome/brands/github
      link: https://github.com/lmmx
  generator: false

markdown_extensions:
  - admonition
  - attr_list
  - md_in_html
  - pymdownx.blocks.definition
  - pymdownx.details
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
      noclasses: True
      pygments_style: lovelace
  - pymdownx.inlinehilite
  - toc:
      permalink: true

plugins:
  - autorefs
  - mkdocstrings:
      default_handler: python
      handlers:
        python:
          paths: [src/*/]
          options:
            members_order: source
            separate_signature: true
            filters: ["!^_"]
            docstring_options:
              ignore_init_summary: true
            merge_init_into_class: true
            line_length: 88 # default: 60
            # show_if_no_docstring: true
            show_root_full_path: false
            show_root_toc_entry: false
            show_source: true
            show_submodules: true
            show_signature_annotations: true
  - search
  - section-index
  - social:
      cards_layout_options:
        color: #de0

nav:
  - Home: index.md
  - Getting Started:
      - Welcome to Page Dewarp: get_started.md
  - Usage:
      - User guide: usage/index.md
      - usage/page_dewarp.md
  - API Reference:
      - APIs: api/index.md
      - api/page_dewarp.md
@lmmx lmmx self-assigned this Sep 7, 2024
@lmmx lmmx added the documentation Improvements or additions to documentation label Sep 7, 2024
@lmmx lmmx added this to Planner Sep 7, 2024
@lmmx lmmx added the good first issue Good for newcomers label Sep 8, 2024
@lmmx lmmx moved this to 🔜 Soon in Page Dewarp Release Planner Sep 8, 2024
@lmmx lmmx moved this to 🐣 Hatching in Planner Sep 10, 2024
@lmmx lmmx moved this from 🐣 Hatching to 🔙 Backlog in Planner Sep 16, 2024
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 good first issue Good for newcomers
Projects
Status: 🔜 Soon
Status: 📚 Shelved
Development

No branches or pull requests

1 participant