Giter Site home page Giter Site logo

Add hidden folders about pinedocs HOT 6 CLOSED

 avatar commented on August 25, 2024
Add hidden folders

from pinedocs.

Comments (6)

xy2z avatar xy2z commented on August 25, 2024

Can you give an example why you need this?

from pinedocs.

 avatar commented on August 25, 2024

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.

xy2z avatar xy2z commented on August 25, 2024

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.

xy2z avatar xy2z commented on August 25, 2024

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.

 avatar commented on August 25, 2024

This is way better than my suggestion. I am looking forward to use this feature.
I really appreciate your efforts.

from pinedocs.

xy2z avatar xy2z commented on August 25, 2024

Done in v1.1.5
https://github.com/xy2z/PineDocs/releases/tag/1.1.5

from pinedocs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.