mkdocs.yml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  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. repo_name: vnpower/pixivfe
  16. repo_url: https://codeberg.org/vnpower/pixivfe
  17. edit_uri: edit/master/doc/
  18. copyright: GFDL-1.3-or-later
  19. theme:
  20. name: material
  21. language: en
  22. palette:
  23. # -- Light mode
  24. - media: "(prefers-color-scheme: light)"
  25. scheme: default
  26. primary: custom
  27. accent: indigo
  28. toggle:
  29. icon: material/brightness-7
  30. name: Switch to dark theme
  31. # -- Dark mode
  32. - media: "(prefers-color-scheme: dark)"
  33. scheme: slate
  34. primary: custom
  35. accent: indigo
  36. toggle:
  37. icon: material/brightness-4
  38. name: Switch to light theme
  39. icon:
  40. logo: simple/pixiv
  41. favicon: favicon.ico
  42. features:
  43. # -- Navigation
  44. # Instant loading
  45. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-loading
  46. - navigation.instant
  47. # Instant prefetching (sponsor only)
  48. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#instant-prefetching
  49. # - navigation.instant.prefetch
  50. # Progress indicator
  51. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#progress-indicator
  52. - navigation.instant.progress
  53. # Anchor tracking
  54. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-tracking
  55. - navigation.tracking
  56. # Navigation sections
  57. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-sections
  58. - navigation.sections
  59. # Navigation expansion
  60. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-expansion
  61. - navigation.expand
  62. # Section index pages
  63. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#section-index-pages
  64. - navigation.indexes
  65. # -- Table of contents
  66. # Anchor following
  67. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#anchor-following
  68. - toc.follow
  69. # Back-to-top button
  70. # src: https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#back-to-top-button
  71. - navigation.top
  72. # -- Code blocks
  73. # Code copy button
  74. # src: https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#code-copy-button
  75. - content.code.copy
  76. - navigation.footer
  77. - content.action.edit
  78. - content.code.annotate
  79. plugins:
  80. # -- The search plugin adds a search bar to the header, allowing users to search your documentation.
  81. # src: https://squidfunk.github.io/mkdocs-material/plugins/search/
  82. - search:
  83. enabled: true
  84. - git-revision-date-localized:
  85. enabled: true
  86. type: date
  87. enable_creation_date: true
  88. - table-reader
  89. - glightbox:
  90. effect: fade
  91. auto_caption: true
  92. caption_position: bottom
  93. markdown_extensions:
  94. - admonition
  95. - toc:
  96. permalink: true
  97. permalink_title: Anchor link to this section for reference
  98. - tables
  99. # -- Enable extended support for images
  100. # src: https://squidfunk.github.io/mkdocs-material/reference/images/
  101. - attr_list
  102. - md_in_html
  103. - pymdownx.emoji:
  104. emoji_index: !!python/name:material.extensions.emoji.twemoji
  105. emoji_generator: !!python/name:material.extensions.emoji.to_svg
  106. - footnotes
  107. # -- Python Markdown Extensions
  108. # The BetterEm extension improves the detection of Markup to emphasize text
  109. - pymdownx.betterem
  110. # Caret, Mark & Tilde
  111. - pymdownx.caret
  112. - pymdownx.mark
  113. - pymdownx.tilde
  114. # The Details extension makes the Admonition call-outs collapsible, allowing them to be opened and closed by the user
  115. - pymdownx.details
  116. # The Highlight extension adds support for syntax highlighting of code blocks and inline code blocks
  117. # src: https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#highlight
  118. - pymdownx.highlight:
  119. use_pygments: true
  120. pygments_lang_class: true
  121. auto_title: true
  122. linenums: true
  123. linenums_style: table
  124. anchor_linenums: true
  125. line_spans: __span
  126. - pymdownx.inlinehilite
  127. - pymdownx.keys
  128. - pymdownx.smartsymbols
  129. - pymdownx.snippets
  130. - pymdownx.superfences
  131. # The Tabbed extension allows the usage of content tabs, a simple way to group related content and code blocks under accessible tabs.
  132. - pymdownx.tabbed:
  133. alternate_style: true
  134. combine_header_slug: true
  135. # The Tasklist extension allows for the usage of GitHub Flavored Markdown inspired task lists.
  136. - pymdownx.tasklist:
  137. custom_checkbox: true
  138. clickable_checkbox: true
  139. extra_javascript:
  140. - "https://unpkg.com/tablesort@5.3.0/dist/tablesort.min.js"
  141. - js/tablesort.js
  142. extra_css:
  143. - css/extra.css
  144. extra:
  145. social:
  146. - icon: simple/codeberg
  147. link: https://codeberg.org/VnPower/PixivFE
  148. name: PixivFE on Codeberg
  149. - icon: simple/gitlab
  150. link: https://gitlab.com/pixivfe
  151. name: PixivFE on GitLab