Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Automate sidebar navigation from .yaml files as plugin #71

Open
2 tasks
aileen opened this issue Jan 14, 2019 · 0 comments
Open
2 tasks

Automate sidebar navigation from .yaml files as plugin #71

aileen opened this issue Jan 14, 2019 · 0 comments
Labels
enhancement Improvement of existing feature refactoring/cleanup

Comments

@aileen
Copy link
Member

aileen commented Jan 14, 2019

Problem description

The currently implemented solution to generate the sidebar navigation from yaml files reads all yaml files from within a /src//data/sidebars directory, which is weird because those files are part of the content and not the code and currently stored away from the content files.

Those sidebar files should actually live right where they belong: in the related content folder.

Proposal

Refactor the sidebars components to be more automatic and generic and read them from the content directories.

Create this new implementation as plugin, so it can be reused.

Todos

  • move all sidebar files out of /src into their associated content dir
  • create a plugin that finds those files and can be simply used as Sidebar component
@aileen aileen added enhancement Improvement of existing feature refactoring/cleanup labels Jan 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of existing feature refactoring/cleanup
Projects
None yet
Development

No branches or pull requests

1 participant