orchidhq / Orchid

Build and deploy beautiful documentation sites that grow with you
https://orchid.run
GNU General Public License v3.0
514 stars 53 forks source link

Add a "Theme Management" screen in Admin Panel #226

Open cjbrooks12 opened 5 years ago

cjbrooks12 commented 5 years ago

Currently, customizing themes requires users to navigate to the source code for the theme, and copy-and-paste the necessary files into their local site resources before they can start customizing the theme.

It would be great to offer a simple way for users to view all of a theme's templates from their admin panel, and edit them directly from there. Changes to theme files in the admin panel get saved to local resources. It would offer a file tree of the theme's resource files and a simple code editor, along with an easily-opened help menu to explain some of the constructs in the template.

With the current setup, only the main theme could be customized in this way. But I would also like to support local themes (templates only) being installed in a "themes" template subdirectory where the filename is the theme key, which would also work for full themes. When this is in place, all available themes can be edited, and files will be saved to that theme subdirectory.