diff --git a/.yardopts b/.yardopts index e5cae97..d07e651 100644 --- a/.yardopts +++ b/.yardopts @@ -3,6 +3,7 @@ --hide-api private --output-dir doc --readme README.md +--template-path yard-templates lib/**/*.rb - CHANGELOG.md diff --git a/yard-templates/default/method_details/html/source.erb b/yard-templates/default/method_details/html/source.erb new file mode 100644 index 0000000..ef67e90 --- /dev/null +++ b/yard-templates/default/method_details/html/source.erb @@ -0,0 +1,4 @@ +<%# Source code intentionally omitted from published documentation. + This override replaces the default YARD template that renders the + block for every method, so the public + GitHub Pages site does not expose the implementation. %>