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

Hosting the docs not a the root #135

Open
jachin opened this issue Mar 15, 2021 · 0 comments
Open

Hosting the docs not a the root #135

jachin opened this issue Mar 15, 2021 · 0 comments

Comments

@jachin
Copy link

jachin commented Mar 15, 2021

Hello, thanks for putting this project together.

I've run into a bit of an issue, putting the generated docs, on a URL that is not the root.

For instance if I want the docs to live at `http://my.url/docs/ that doesn't seem to be working.

If I'm understanding correctly your "How it works" section of the README this part jumped out at me:

It is a fork of the elm/package.elm-lang.org repo that takes a flag that specifies which URL path the frontend app is mounted at.

I looked a bit at your fork of elm/package.elm-lang.org and your elm-doc branch, and I noticed the mountedAt = "/".

This is a feature request I guess, but do you think it's possible to make that configurable? Maybe as an option to the elm-doc tool called --mounted-at.

I'm looking into "hacky" way to do it now, with a search a replace on the generated docs. If I come up with something that works I'll post it here.

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