mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 15:51:05 +08:00
DEV: Remove unmaintained tidy-jsdoc dependency (#25110)
This was used by chat's HTML documentation experiment. That documentation experiment isn't being actively used/updated, but may be revisited in future. Therefore, this commit updates the jsdoc config to remove the custom theme, but keeps it functional (with the default jsdoc theme).
This commit is contained in:
@ -16,15 +16,6 @@ def generate_chat_documentation
|
||||
]
|
||||
`yarn --silent jsdoc --readme plugins/chat/README.md -c #{config} #{files.join(" ")} -d #{destination}`
|
||||
|
||||
# unnecessary files
|
||||
%w[
|
||||
documentation/chat/frontend/scripts/prism.min.js
|
||||
documentation/chat/frontend/scripts/prism.js
|
||||
documentation/chat/frontend/styles/vendor/prism-default.css
|
||||
documentation/chat/frontend/styles/vendor/prism-okaidia.css
|
||||
documentation/chat/frontend/styles/vendor/prism-tomorrow-night.css
|
||||
].each { |file| FileUtils.rm(file) }
|
||||
|
||||
require "open3"
|
||||
require "yard"
|
||||
YARD::Templates::Engine.register_template_path(
|
||||
|
Reference in New Issue
Block a user