Comments (6)
Can you give an example why you need this?
from pinedocs.
For example, for a download directory. I have a download directory with many files in it and from there I just create direct download links. The only thing bothering me is the download folder showing up in the left menu.
But there are definitely more use cases. Just having the possibility to create (md) files which are not accessible through the main page would be fantastic.
from pinedocs.
I see. Im just afraid some people would use this for excluding files without knowing the files are actually accessible. But maybe a big warning in the config file is sufficient.
The complete file tree will still be loaded in the html, for navigation to work, but will be hidden in the left side using css/js. Just so you know, everyone can still see what files there is, so this shouldnt be used for security reasons. Use exclude filter for that.
from pinedocs.
How about a new option called hide_folders_in_navigation
which can contain an array of folders to hide like
hide_folders_in_navigation:
- hidden_dir
- project/hide_this
from pinedocs.
This is way better than my suggestion. I am looking forward to use this feature.
I really appreciate your efforts.
from pinedocs.
Done in v1.1.5
https://github.com/xy2z/PineDocs/releases/tag/1.1.5
from pinedocs.
Related Issues (20)
- Link to header in the same document not working HOT 1
- Add phpstan HOT 1
- Add phpunit testing
- Remove the develop branch
- Latex support HOT 2
- PDF Support HOT 1
- Relative path for image support HOT 1
- Upgrade to PHP 8.1 HOT 1
- MermaidJS HOT 1
- Bug: Favicon doesn't work HOT 1
- Custom marked configuration HOT 1
- Custom CSS HOT 1
- Custom JS
- Add lines number to code blocks
- Render file in files
- Custom highlight.js
- Bug: Blank screen HOT 11
- Add the ability to create md files on the front side HOT 1
- Menu text overlaps page text (simplistic-dark.css) HOT 1
- Docker-compose | Can't edit color-schemes
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 pinedocs.