aboutsummaryrefslogtreecommitdiffstats
path: root/docs/layouts/doc/search.html
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-07-25 23:53:13 -0500
committerGitHub <noreply@github.com>2023-07-26 04:53:13 +0000
commitbd4c7ce578956d9839309b16753bd5505b63b2e3 (patch)
tree1d3074ef542cee11707bc4985ce54dc40facb9b6 /docs/layouts/doc/search.html
parent5dc37ef97a30628027a723ee944225a33a6511f8 (diff)
downloadgitea-bd4c7ce578956d9839309b16753bd5505b63b2e3.tar.gz
gitea-bd4c7ce578956d9839309b16753bd5505b63b2e3.zip
Docusaurus-ify (#26051)
This PR cleans up the docs in a way to make them simpler to ingest by our [docs repo](https://gitea.com/gitea/gitea-docusaurus). 1. It includes all of the sed invocations our ingestion did, removing the need to do it at build time. 2. It replaces the shortcode variable replacement method with `@variable@` style, simply for easier sed invocations when required. 3. It removes unused files and moves the docs up a level as cleanup. --------- Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs/layouts/doc/search.html')
-rw-r--r--docs/layouts/doc/search.html38
1 files changed, 0 insertions, 38 deletions
diff --git a/docs/layouts/doc/search.html b/docs/layouts/doc/search.html
deleted file mode 100644
index 90fe96fe5d..0000000000
--- a/docs/layouts/doc/search.html
+++ /dev/null
@@ -1,38 +0,0 @@
-{{ partial "header.html" . }}
-{{ partial "navbar.html" . }}
-
-<section class="section">
- <div class="container is-centered page">
- <div class="columns">
- <div class="column is-one-quarter">
- {{ partial "menu" . }}
- </div>
- <div class="column">
- <div class=" content">
- <section class="resume-section p-3 p-lg-5 d-flex flex-column">
- <div class="my-auto" >
- <div id="search-results"></div>
- </div>
- </section>
- <!-- this template is sucked in by search.js and appended to the search-results div above. So editing here will adjust style -->
- <script id="search-result-template" type="text/x-js-template">
- <div id="summary-${key}">
- <h4><a href="${link}">${title}</a></h4>
- <p>${snippet}</p>
- ${ isset tags }<p>Tags: ${tags}</p>${ end }
- ${ isset categories }<p>Categories: ${categories}</p>${ end }
- <hr/>
- </div>
- </script>
- </div>
- </div>
- </div>
- </div>
-</section>
-
-<script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/3.4.5/fuse.min.js"></script>
-<script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js"></script>
-<script>document.LANG = "{{ .Language.Lang }}";</script>
-{{ $script := resources.Get "js/search.js" | minify | fingerprint -}}
-<script src="{{ $script.Permalink }}" {{ printf "integrity=%q" $script.Data.Integrity | safeHTMLAttr }}></script>
-{{ partial "footer.html" . }}