fr-docs 2.1.3__tar.gz → 2.1.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. {fr_docs-2.1.3 → fr_docs-2.1.4}/PKG-INFO +1 -1
  2. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/html_pipeline.py +1 -10
  3. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/template.py +2 -3
  4. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs.egg-info/PKG-INFO +1 -1
  5. {fr_docs-2.1.3 → fr_docs-2.1.4}/pyproject.toml +1 -1
  6. {fr_docs-2.1.3 → fr_docs-2.1.4}/LICENSE.md +0 -0
  7. {fr_docs-2.1.3 → fr_docs-2.1.4}/README.md +0 -0
  8. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/__init__.py +0 -0
  9. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/__main__.py +0 -0
  10. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/build.py +0 -0
  11. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/config.py +0 -0
  12. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/config_accessors.py +0 -0
  13. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/frontmatter.py +0 -0
  14. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/git.py +0 -0
  15. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/init.py +0 -0
  16. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/markdown.py +0 -0
  17. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/search.py +0 -0
  18. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/slug.py +0 -0
  19. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/syntax.py +0 -0
  20. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs/utils.py +0 -0
  21. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs.egg-info/SOURCES.txt +0 -0
  22. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs.egg-info/dependency_links.txt +0 -0
  23. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs.egg-info/entry_points.txt +0 -0
  24. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs.egg-info/requires.txt +0 -0
  25. {fr_docs-2.1.3 → fr_docs-2.1.4}/fr_docs.egg-info/top_level.txt +0 -0
  26. {fr_docs-2.1.3 → fr_docs-2.1.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fr-docs
3
- Version: 2.1.3
3
+ Version: 2.1.4
4
4
  Summary: Fast static documentation generator with search, versioning, and zero-config setup
5
5
  License: # PolyForm Noncommercial License 1.0.0
6
6
 
@@ -82,16 +82,7 @@ def _render_template_placeholders(config):
82
82
  <div id="search-results" class="search-results"></div>"""
83
83
 
84
84
  def _get_search_preloads_html():
85
- if not feature_enabled(config, "search"):
86
- return ""
87
- sp = output_href("", config)
88
- return (
89
- f'<link rel="preload" as="fetch" href="{sp}search_index.zst" crossorigin>\n'
90
- f' <link rel="preload" as="fetch" href="{sp}symbol_index.zst" crossorigin>\n'
91
- f' <link rel="preload" as="fetch" href="{sp}file_index.zst" crossorigin>\n'
92
- f' <link rel="preload" as="fetch" href="{sp}git_meta.zst" crossorigin>\n'
93
- f' <link rel="modulepreload" href="https://cdn.jsdelivr.net/npm/fzstd@0.1.1/umd/index.min.js">'
94
- )
85
+ return ""
95
86
 
96
87
  return {
97
88
  "site_prefix": output_href("", config),
@@ -17,11 +17,11 @@ TEMPLATE = """\
17
17
  <meta property="og:site_name" content="{project_name} Docs">
18
18
  <meta name="theme-color" content="#6366f1">
19
19
  <meta name="color-scheme" content="dark">
20
- <link rel="stylesheet" href="{site_prefix}style.css">
21
20
  <link rel="icon" href="{site_prefix}favicon.svg" type="image/svg+xml">
22
21
  <link rel="preconnect" href="https://fonts.googleapis.com">
23
22
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
24
- <link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800&family=JetBrains+Mono:wght@400..700&display=swap" rel="stylesheet">
23
+ <link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400..800&family=JetBrains+Mono:wght@400..700&display=swap" rel="stylesheet">
24
+ <link rel="stylesheet" href="{site_prefix}style.css">
25
25
  </head>
26
26
  <body>
27
27
  <!-- Header -->
@@ -72,7 +72,6 @@ TEMPLATE = """\
72
72
  </button>
73
73
 
74
74
  {search_index_inline}
75
- {search_preloads}
76
75
  <script id="code-refs-data" type="application/json">{code_refs_json}</script>
77
76
  <script id="search-config" type="application/json">{search_config_json}</script>
78
77
  <script src="{site_prefix}script.js" defer></script>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fr-docs
3
- Version: 2.1.3
3
+ Version: 2.1.4
4
4
  Summary: Fast static documentation generator with search, versioning, and zero-config setup
5
5
  License: # PolyForm Noncommercial License 1.0.0
6
6
 
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "fr-docs"
9
- version = "2.1.3"
9
+ version = "2.1.4"
10
10
  description = "Fast static documentation generator with search, versioning, and zero-config setup"
11
11
  requires-python = ">=3.14"
12
12
  dependencies = [
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes