Comments (3)
However I think we can prevent the inline CSS from showing up in the search results, by moving it to an external .css file.
from awesome-selfhosted-data.
'm not sure how the search code operates
The website is rendered by Sphinx. Sphinx builds a full-text index of all documents, and the search functionality uses this index.
Sphinx's search functionality only has single relevant configuration setting: html_show_search_summary. Setting this to False
disables including snippets in the search results:
So unless I missed something, changing the way search results are displayed would require implementing changes in Sphinx directly, or writing an extension. I'm unlikely to work on that, but if someone writes such an extension I would add it to our sphinx configuration.
As a workaround, you can use your web browser's search feature on the index page (Ctrl+F monica
, Ctrl+F link
...)
from awesome-selfhosted-data.
we can prevent the inline CSS from showing up in the search results, by moving it to an external .css file.
Fixed in #262
from awesome-selfhosted-data.
Related Issues (20)
- Is there a duplicate item of Hoppscotch? HOT 1
- add placeholder for event invite software HOT 2
- Add Exatorrent project is still alive and development is slow but satble HOT 6
- Add Cosmos HOT 1
- Add HortusFox HOT 5
- Add Piped HOT 1
- Add Instadelity HOT 2
- Add SOFTWARE_NAME
- Add Crypta HOT 1
- Change Akaunting license from GPL-3.0 to BSL-1.1 HOT 1
- Add Mylar3
- Add Keploy HOT 1
- Label 'fix' doesn't exist anymore HOT 1
- Add Xleb HOT 1
- Add Feedi HOT 1
- Add Dozzle HOT 2
- Add Dockge HOT 2
- Update PR Template to Account for Updates HOT 3
- Submitted software not showing up HOT 2
- Add FeedCord HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-selfhosted-data.