* FEATURE: add a global setting to support custom docs url path This commit adds a GlobalSetting `docs_path` to support custom docs url path for sites that do not want docs page to live at `/docs` and have a customized path. * Fixed the route declaration * Test and linting * Update server.en.yml * Fixed doc test * Fixed linting. * Testing qunit test fix * Fixed tests * Prettified tests * Changed the implementation from SiteSetting to GlobalSetting instead. * Fixed tests * Cleanup * Using Site instead of .js.erb to pass GlobalSetting.docs_url to the front end. Also fixed front end tests * Remove references to obsolete site setting * remove unused fixture file * Rename `docs_url` to `docs_path` and use camelCase in JavaScript * Add serializer tests Co-authored-by: Arpit Jalan <er.ajalan@gmail.com> |
||
---|---|---|
.github/workflows | ||
app | ||
assets | ||
config | ||
db/migrate | ||
lib | ||
spec | ||
test/javascripts | ||
.discourse-compatibility | ||
.eslintrc | ||
.gitignore | ||
.prettierrc | ||
.rubocop.yml | ||
.template-lintrc.js | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
README.md | ||
package.json | ||
plugin.rb | ||
translator.yml | ||
yarn.lock |
README.md
Discourse Docs Plugin
Find and filter knowledge base topics.
For more information, please see: https://meta.discourse.org/t/discourse-docs-documentation-management-plugin/130172/