Skip to content

Commit

Permalink
The search bar now works on all pages with the readthedocs theme. Les…
Browse files Browse the repository at this point in the history
…s is more.
  • Loading branch information
tristanlatr committed Nov 25, 2024
1 parent 9f91ccb commit 7ac50b5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 76 deletions.
1 change: 0 additions & 1 deletion pydoctor/themes/base/apidocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ nav.navbar .navbar-header {
margin-bottom: 3px;
border-bottom: 0;
box-shadow: 0 0 8px 8px #fff;
z-index: 99;
}

.navbar-brand {
Expand Down
31 changes: 0 additions & 31 deletions pydoctor/themes/readthedocs/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,6 @@

<div t:render="subheader" />

<div id="search-results-container" style="display: none;">

<div id="search-buttons">
<span class="label label-default" id="search-docstrings-button">
<label class="checkbox-inline">
<input type="checkbox" id="toggle-search-in-docstrings-checkbox" value="false" onclick="toggleSearchInDocstrings()">
search in docstrings
</input>
</label>
</span>

</div>

<noscript>
<h1>Cannot search: JavaScript is not supported/enabled in your browser.</h1>
</noscript>

<div id="search-status"> </div>

<div class="warning" id="search-warn-box" style="display: none;">
<p class="rst-last"><span id="search-warn"></span></p>
</div>

<table id="search-results">
<!-- Filled dynamically by JS -->
</table>

<div style="margin-top:10px;">
<p>For more information on the search, visit the <a href="apidocs-help.html#rst-search">help page</a>.</p>
</div>
</div>

<div class="page-header">
<t:slot name="heading"><h1>Heading</h1></t:slot>
Expand Down
42 changes: 0 additions & 42 deletions pydoctor/themes/readthedocs/nav.html

This file was deleted.

2 changes: 0 additions & 2 deletions pydoctor/themes/readthedocs/readthedocstheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ body > footer {

body > nav {
background-color: rgb(52, 49, 49);
color: rgb(155, 155, 155);
left: 0px;
height: 100%;
position: fixed;
Expand Down Expand Up @@ -77,7 +76,6 @@ body > footer > hr {
box-shadow: none;
margin-top: 0;
padding: 5px 0 5px 0;
position: relative;
}

/* xref stlyles */
Expand Down

0 comments on commit 7ac50b5

Please sign in to comment.