Skip to content

fix: Slugify docs names before publishing#14054

Merged
kodiakhq[bot] merged 6 commits intocloudquery:mainfrom
erezrokah:fix/publish_docs
Sep 27, 2023
Merged

fix: Slugify docs names before publishing#14054
kodiakhq[bot] merged 6 commits intocloudquery:mainfrom
erezrokah:fix/publish_docs

Conversation

@erezrokah
Copy link
Copy Markdown
Member

},
map[string]any{
"content": customDocContent,
"name": "custom-doc",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this slug expected to come from the name of the doc, or from the slug in the frontmatter? Maybe we should make the slug in the frontmatter differ to make this clear?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the tests a bit, good point

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks :) I think the slug field in the frontmatter is not being used, should we remove it?

@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Sep 27, 2023
@kodiakhq kodiakhq bot merged commit a0fb8ab into cloudquery:main Sep 27, 2023
@erezrokah erezrokah deleted the fix/publish_docs branch September 27, 2023 09:57
kodiakhq bot pushed a commit that referenced this pull request Sep 27, 2023
🤖 I have created a release *beep* *boop*
---


## [3.19.3](cli-v3.19.2...cli-v3.19.3) (2023-09-27)


### Bug Fixes

* Slugify docs names before publishing ([#14054](#14054)) ([a0fb8ab](a0fb8ab))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@erezrokah erezrokah mentioned this pull request Sep 27, 2023
kodiakhq bot pushed a commit that referenced this pull request Sep 27, 2023

#### Summary

Follow up to #14054

<!--
daniel-garcia pushed a commit to infobloxopen/ibcq-source-k8s that referenced this pull request Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants