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

Toggle to disable front-end visibility of docs #20

Open
lindseydiloreto opened this issue Jun 1, 2020 · 0 comments
Open

Toggle to disable front-end visibility of docs #20

lindseydiloreto opened this issue Jun 1, 2020 · 0 comments

Comments

@lindseydiloreto
Copy link

First let me say, fantastic plugin! I've been using it for years and it's very reliable.

I actually came here to file this FR, and stumbled across a related thread that hit a lot of the same topics. In fact, this comment sums it all up...

The User Guide pages should not be accessible from the front-end of the site.

I guess it's cool that the data is accessible from the front-end, but I personally don't think I'd ever use it that way. If there was just a simple way to switch off the front-end visibility, that would be great.

I know we can add this snippet to our templates...

{%  if not currentUser %}
  {% redirect '/' %}
{% endif %}

... but that just feels like unnecessary clutter for something that should be handled automatically.

If you have to choose between #15 and this ticket, I would much rather you fix that ticket the way Daryl proposed. Like I said, I personally don't think I'd ever need to use this plugin to manage documentation on the front-end... there's no need for a toggle if you just kill off front-end access entirely.

Thanks for all your hard work! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants