In a discussion titled “Edit Code” under the Dev category with the tag “docker,” Juraj_Štefánik seeks advice on modifying Discourse code beyond what plugins or CSS in admin panels allow, considering editing the Docker container. merefield suggests detailing the desired changes, noting that plugins and theme components are designed to persist through container rebuilds. For Ruby API changes, a guide on creating plugins is recommended; for JavaScript, theme components suffice. Juraj_Štefánik gives examples: adding a GDPR page under the “About” menu and changing the email address shown. merefield recommends using the Page Publishing plugin to add static routes, or simply renaming “Privacy” to “GDPR” via Customize > Text and editing its content through the UI. Email and link updates can be made directly in settings, and CSS in a theme component (preferably managed via GitHub) can hide elements. The consensus is to avoid direct container edits in favor of Discourse’s extensibility tools.
For example, I get here via the menu button on the top right - About, and I already have some modified or hidden a few things using display none, but if I wanted to add something here some new page led gdpr how do I do it? or lower than the email red how do I change to another email ??
to add additional static routes, but why don’t you just change “Privacy” to “GDPR” in Customize → Text and then alter that document how you see fit to add GDPR content? You can already just edit that text almost like a normal Topic through the Discourse UI. Easy!