Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.nodocsify file to disable docsify from serving certain folders #1496

Open
ron0studios opened this issue Feb 7, 2021 · 2 comments
Open

.nodocsify file to disable docsify from serving certain folders #1496

ron0studios opened this issue Feb 7, 2021 · 2 comments
Labels
wait for information something is not clear, waiting for the author of the issue/pr

Comments

@ron0studios
Copy link

Feature request

similar to the ".nojekyll", is it possible to include a ".nodocsify" file that prevents docsify from operating on certain folders?

What problem does this feature solve?

adding game or software demos using iframes. Changing the github pages from "/docs" to "/root" does not work either since it messes up docsify's system for getting _sidebar.md for some reason.

What does the proposed API look like?

if you include a ".nodocsify" in a folder, docsify will not operate on that folder and any of its subfolders.

How should this be implemented in your opinion?

I'm not entirely certain, but surely it must be possible to exclude rendering if it encounters a ".nodocsify" file?

Are you willing to work on this yourself?

If the solution is relatively simple, perhaps. (im not very good with javascript)

@sy-records
Copy link
Member

adding game or software demos using iframes. Changing the github pages from "/docs" to "/root" does not work either since it messes up docsify's system for getting _sidebar.md for some reason.

This seems to be solved by adding basePath configuration? Can you provide a reproducible sandbox?

@ron0studios
Copy link
Author

ron0studios commented Feb 8, 2021

Here is the project that I am using this for https://rudrrayan.github.io/AlgoSim . I am using a separate hosting service for the iframe (itch.io) at the moment, so i think if you go back a few commits it might be there, but probably to around commit 30 or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait for information something is not clear, waiting for the author of the issue/pr
Projects
None yet
Development

No branches or pull requests

2 participants