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

Document Path Issue #26

Open
DeeEmm opened this issue Sep 13, 2020 · 0 comments
Open

Document Path Issue #26

DeeEmm opened this issue Sep 13, 2020 · 0 comments

Comments

@DeeEmm
Copy link

DeeEmm commented Sep 13, 2020

HI

I have been trying to set up site documentation using DocPress but have been unable to get the desired behaviour.

I would like to be able to create a link directly to a document and not have the 'doc' path added to the url.

For example if I create a document called FAQ and then create a menu item that points to the FAQ document I expect the URL to simply be mysite.com/FAQ however what is actually created is mysite.com/[docPressArchivePage]/FAQ.

If I use FAQ as the Archive Page then I end up with mysite.com/FAQ/FAQ which just looks untidy and messy.

Having the top level path included in the URL and breadcrumb also means that users can visit this URL and see other documentation that I do not want to be visible to them. Whilst I am using the 'Groups' plugin to actually control access, it's messy to let visitors see something that they should not be able to access/

How can I achieve what I want?

mysite.com/FAQ that links to docPress document (2 column layout showing file tree)

Whilst still leaving the possibility to use the following URL in my customer support portal (a controlled area)

mysite.com/documentation/product-support-document-1
mysite.com/documentation/product-support-document-2

etc.

At the moment I'm using different document management plugins for each area, I would like to use just one. DocPress nearly does this but for a few small issues.

Looking forwards to your help

/DM

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

No branches or pull requests

1 participant