mkdocs.yml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. site_name: PixivFE Documentation
  2. docs_dir: doc
  3. site_description: >-
  4. Documentation for PixivFE
  5. nav:
  6. - "Home": "index.md"
  7. - "Instance list": "instance-list.md"
  8. - "Public image proxies": "public-image-proxies.md"
  9. - "Known quirks": "known-quirks.md"
  10. - "Hosting":
  11. - "Environment variables": "environment-variables.md"
  12. - "Hosting PixivFE": "hosting-pixivfe.md"
  13. - "Hosting an image proxy server for Pixiv": "hosting-image-proxy-server.md"
  14. - "Obtaining the PIXIVFE_TOKEN cookie": "obtaining-pixivfe-token.md"
  15. - "Development":
  16. - dev/index.md
  17. - dev/framework-migration.md
  18. - dev/coding-tips.md
  19. - dev/design-flaws.md
  20. - dev/feature-ideas.md
  21. - dev/helpful-resources.md
  22. - dev/roadmap.md
  23. - "Features":
  24. - dev/features/caching.md
  25. - dev/features/novels.md
  26. - dev/features/tracing.md
  27. - dev/features/user-customization.md
  28. repo_name: VnPower/PixivFE
  29. repo_url: https://codeberg.org/VnPower/PixivFE
  30. edit_uri: _edit/v2/doc/
  31. copyright: GFDL-1.3-or-later
  32. theme:
  33. name: material
  34. language: en
  35. palette:
  36. # -- Light mode
  37. - media: "(prefers-color-scheme: light)"
  38. scheme: default
  39. primary: custom
  40. accent: indigo
  41. toggle:
  42. icon: material/brightness-7
  43. name: Switch to dark theme
  44. # -- Dark mode
  45. - media: "(prefers-color-scheme: dark)"
  46. scheme: slate
  47. primary: custom
  48. accent: indigo
  49. toggle:
  50. icon: material/brightness-4
  51. name: Switch to light theme
  52. icon:
  53. logo: simple/pixiv
  54. repo: simple/codeberg
  55. favicon: favicon.png
  56. features:
  57. # -- Navigation
  58. # Instant loading
  59. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-loading
  60. - navigation.instant
  61. # Instant prefetching (sponsor only)
  62. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-prefetching
  63. # - navigation.instant.prefetch
  64. # Progress indicator
  65. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#progress-indicator
  66. - navigation.instant.progress
  67. # Anchor tracking
  68. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-tracking
  69. - navigation.tracking
  70. # Navigation sections
  71. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections
  72. - navigation.sections
  73. # Navigation expansion
  74. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-expansion
  75. - navigation.expand
  76. # Section index pages
  77. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages
  78. - navigation.indexes
  79. # -- Table of contents
  80. # Anchor following
  81. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following
  82. - toc.follow
  83. # Back-to-top button
  84. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button
  85. - navigation.top
  86. # -- Code blocks
  87. # Code copy button
  88. # src: https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button
  89. - content.code.copy
  90. - navigation.footer
  91. - content.action.edit
  92. - content.code.annotate
  93. plugins:
  94. # -- The search plugin adds a search bar to the header, allowing users to search your documentation.
  95. # src: https://squidfunk.github.io/mkdocs-material/plugins/search/
  96. - search:
  97. enabled: true
  98. - git-revision-date-localized:
  99. enabled: true
  100. type: date
  101. enable_creation_date: true
  102. - table-reader
  103. - glightbox:
  104. effect: fade
  105. auto_caption: true
  106. caption_position: bottom
  107. markdown_extensions:
  108. - admonition
  109. - toc:
  110. permalink: true
  111. permalink_title: Anchor link to this section for reference
  112. - tables
  113. # -- Enable extended support for images
  114. # src: https://squidfunk.github.io/mkdocs-material/reference/images/
  115. - attr_list
  116. - md_in_html
  117. - pymdownx.emoji:
  118. emoji_index: !!python/name:material.extensions.emoji.twemoji
  119. emoji_generator: !!python/name:material.extensions.emoji.to_svg
  120. - footnotes
  121. # -- Python Markdown Extensions
  122. # The BetterEm extension improves the detection of Markup to emphasize text
  123. - pymdownx.betterem
  124. # Caret, Mark & Tilde
  125. - pymdownx.caret
  126. - pymdownx.mark
  127. - pymdownx.tilde
  128. # The Details extension makes the Admonition call-outs collapsible, allowing them to be opened and closed by the user
  129. - pymdownx.details
  130. # The Highlight extension adds support for syntax highlighting of code blocks and inline code blocks
  131. # src: https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight
  132. - pymdownx.highlight:
  133. use_pygments: true
  134. pygments_lang_class: true
  135. auto_title: true
  136. linenums: true
  137. linenums_style: table
  138. anchor_linenums: true
  139. line_spans: __span
  140. - pymdownx.inlinehilite
  141. - pymdownx.keys
  142. - pymdownx.smartsymbols
  143. - pymdownx.snippets
  144. - pymdownx.superfences
  145. # The Tabbed extension allows the usage of content tabs, a simple way to group related content and code blocks under accessible tabs.
  146. - pymdownx.tabbed:
  147. alternate_style: true
  148. combine_header_slug: true
  149. # The Tasklist extension allows for the usage of GitHub Flavored Markdown inspired task lists.
  150. - pymdownx.tasklist:
  151. custom_checkbox: true
  152. clickable_checkbox: true
  153. extra_javascript:
  154. # -- JavaScript files for sortable tables
  155. # src: https://squidfunk.github.io/mkdocs-material/reference/data-tables/#sortable-tables
  156. - "https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js"
  157. - js/tablesort.js
  158. extra_css:
  159. # -- For custom PixivFE color scheme
  160. # src: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#custom-colors
  161. - css/extra.css
  162. extra:
  163. social:
  164. - icon: simple/codeberg
  165. link: https://codeberg.org/VnPower/PixivFE
  166. name: PixivFE on Codeberg