We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For cross-referencing: josemarluedke/docfy#111
Docfy generates routes at build time and instructs users to make their router include addDocfyRoutes:
addDocfyRoutes
import EmberRouter from '@ember/routing/router'; import { addDocfyRoutes } from '@docfy/ember'; import config from 'ember-cheat-sheet/config/environment'; export default class Router extends EmberRouter { location = config.locationType; rootURL = config.rootURL; } Router.map(function () { addDocfyRoutes(this); });
I had tried to configured splitAtRoutes here: https://github.com/NullVoxPopuli/ember-cheat-sheet/blob/main/ember-cli-build.js#L23
splitAtRoutes: ['docs', 'docs.templates'],
which is the "name" of the routes. Confirmable here: https://cheatsheet.glimmer.nullvoxpopuli.com/docs (with the ember-inspector open)
Is my configuration correct? did I miss something in the splitAtRoutes docs?
splitAtRoutes
Could this be related to: #972 (I did try ember s with that environment variable, and it made no difference)
ember s
here is what running with splitAtRoutes uncomment looks like:
The text was updated successfully, but these errors were encountered:
You need to switch to @embroider/router here:
@embroider/router
https://github.com/NullVoxPopuli/ember-cheat-sheet/blob/f44bd9451621998156d8ab1ea0362bef577bbe1d/app/router.ts#L1
Sorry, something went wrong.
ah ok -- only 2 subtle mentions of this:
I must have missed it! Thanks!
No branches or pull requests
For cross-referencing: josemarluedke/docfy#111
Docfy generates routes at build time and instructs users to make their router include
addDocfyRoutes
:example router.js
I had tried to configured splitAtRoutes here: https://github.com/NullVoxPopuli/ember-cheat-sheet/blob/main/ember-cli-build.js#L23
which is the "name" of the routes.
Confirmable here: https://cheatsheet.glimmer.nullvoxpopuli.com/docs (with the ember-inspector open)
Is my configuration correct? did I miss something in the
splitAtRoutes
docs?Could this be related to: #972
(I did try
ember s
with that environment variable, and it made no difference)here is what running with splitAtRoutes uncomment looks like:
The text was updated successfully, but these errors were encountered: