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

Automation for adding routes for new articles/slides #261

Open
dyc3 opened this issue Mar 21, 2021 · 0 comments
Open

Automation for adding routes for new articles/slides #261

dyc3 opened this issue Mar 21, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@dyc3
Copy link
Member

dyc3 commented Mar 21, 2021

It's kind of a pain to edit the router manually to add a new article or slideshow.

Potential solutions:

  • move article metadata (path and document title) to the articles themselves, have a build script to produce routes
  • read the structure of the articles folder, and generate routes based on that.

Both of these solutions will require a modification to the build pipeline, which is currently managed by create-react-app. In order to implement this, we will probably have to npm run eject.

@dyc3 dyc3 added the enhancement New feature or request label Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant