-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from afh/mkdocs
Switch to MkDocs and add client-side search and custom 404 page
- Loading branch information
Showing
24 changed files
with
143 additions
and
708 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,7 @@ | ||
*.hi | ||
*.o | ||
*.html | ||
site | ||
_* | ||
*.org | ||
snapshot.tar.gz | ||
*.log | ||
*.aes | ||
.DS_Store | ||
# NOTA BENE: source/css is generated from custom_theme/sass | ||
source/css | ||
# Files generated during build or development | ||
build | ||
result* | ||
vendor/ | ||
.bundle/ | ||
# Files specific to macOS | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{% extends "main.html" %} | ||
|
||
{% block content %} | ||
|
||
<h1 id="search">{% trans %}Search Results{% endtrans %}</h1> | ||
|
||
<form id="content_search" action="search.html"> | ||
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span> | ||
<input name="q" id="mkdocs-search-query" type="text" class="search_input search-query ui-autocomplete-input" placeholder="{% trans %}Search the Docs{% endtrans %}" autocomplete="off" autofocus title="{% trans %}Type search term here{% endtrans %}"> | ||
</form> | ||
|
||
<div id="mkdocs-search-results" class="search-results" data-no-results-text="{% trans %}No results found{% endtrans %}"> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div role="search"> | ||
<form id ="rtd-search-form" class="wy-form" action="{{ base_url }}/search.html" method="get"> | ||
<input type="text" name="q" placeholder="{% trans %}Search{% endtrans %}" title="{% trans %}Type search term here{% endtrans %}" /> | ||
</form> | ||
</div> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.