googleapis / sphinx-docfx-yaml

Forked sphinx-docfx-yaml repository for creating DocFX YAML for Python Client Libraries
Apache License 2.0
5 stars 7 forks source link

fix: remove license headers in markdown files #273

Closed dandhlee closed 1 year ago

dandhlee commented 1 year ago

At some point, the license headers were being carried over into the actual content of Markdown files. Titles were being extracted correctly, but any leftover license headers were causing rendering issues. Removing only the license headers on Markdown files, if they're present.

Updated unit tests & goldens.

Fixes b/266951751.