-
-
Notifications
You must be signed in to change notification settings - Fork 14
Generate docs on install, nicer URLs and some caching #107
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
base: master
Are you sure you want to change the base?
Conversation
- footer sticks to the bottom of the window - improve module info display - info icon size and alignment - module info boottom and right margin - module description foont size - improve function info display - remove duplicate function name
- rewrite scan.xql to generate.xqm - adhere to naming conventions - explicitly allow routes and deny evertying else - route modules/reindex.xql moved to /regenerate - add routes fro markdown and static resources - call to /regenerate is a GET request
- use new route `/exist/apps/fundocs/generate` - do not test for removed headline in function info - test for changed module name
- generate documentation in the finish step of the package installation - add cache headers to most routes that could benefit from client-side caching - the html part is dropped from all URLs - /index.html -> / - /view.html -> /view - /ajax.html -> /query - /browse.html -> /browse - reliably set the URL on all rendered HTML pages - move all page templates to /templates/pages
Will the old URLs be maintained? Many people will have these bookmarked and they are likely also in printed documents including possibly the eXist-db Book. As the W3C say - "Cool URIs don't change" - https://www.w3.org/Provider/Style/URI |
- add arity - add annotations - add return with occurrence (return in comment left intact) - add parameters with occurrence (param elements in comment left intact)
The breaking nature is the reason I decided to open an extra PR. User facing URLs that could have been bookmarked or printed:
|
There are a LOT more URLs than that @line-o |
Would you be willing to share an example URL I missed? |
or we "chose them very badly" :-) anyway @adamretter it really helps to provide a few concrete samples in addition to the oneliner. |
I just re-checked the controller and there is exactly one route matching |
This PR is built on top of #106
The client-facing URLs are changing so this might be considered a breaking change.
- /index.html -> /
- /view.html -> /view
- /ajax.html -> /query
- /browse.html -> /browse
Other enhancements