Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: DRY some docs logic #550

Merged
merged 6 commits into from
Jul 28, 2022

Conversation

kanadgupta
Copy link
Member

🧰 Changes

Consolidating some shared logic used in our docs, changelogs, and custompages commands.

🧬 QA & Testing

Do tests pass?

@kanadgupta kanadgupta added refactor Issues about tackling technical debt command:docs Issues pertaining to the `docs`, `changelogs`, or `custompages` commands labels Jul 28, 2022
@kanadgupta kanadgupta added this to the v7.5 milestone Jul 28, 2022
@kanadgupta kanadgupta requested a review from erunion July 28, 2022 19:47
…ction (#545)

* feat: add retag-release workflow to add a vX.Y.Z tag for our GitHub Action

* Update .github/workflows/retag-release.yaml

Co-authored-by: Kanad Gupta <[email protected]>

* refactor: move code out of YAML and into bin/ script

* fix: lint fixes

Co-authored-by: Kanad Gupta <[email protected]>
Base automatically changed from fix/docs-changelog/markdown-ext to kanad/rm-4889-custom-pages-support July 28, 2022 20:57
@kanadgupta kanadgupta merged commit b4134e9 into kanad/rm-4889-custom-pages-support Jul 28, 2022
@kanadgupta kanadgupta deleted the dry/readdirRecursive branch July 28, 2022 21:03
kanadgupta added a commit that referenced this pull request Jul 28, 2022
* chore: create custompages cmd category

* test: fixtures

* feat: initial pass at commands

as part of this, we had to slightly refactor the pushDoc function to augment the data to support the HTML file handling required by the custompages API

* test: initial pass at tests

* docs: update README usage

* test: remove unused version params, stricter error checks

* fix(docs/single): support files with `.markdown` extension (#549)

* fix: support files with .markdown extension

* test: random cleanup

fixing typo, removing unused version param, stricter error checks

* chore: capitalize Markdown

* chore: lowercase all file extension checks

* refactor: DRY some docs logic (#550)

* fix: support files with .markdown extension

* test: random cleanup

fixing typo, removing unused version param, stricter error checks

* refactor: DRY some docs logic

* feat: add retag-release workflow to add a vX.Y.Z tag for our GitHub Action (#545)

* feat: add retag-release workflow to add a vX.Y.Z tag for our GitHub Action

* Update .github/workflows/retag-release.yaml

Co-authored-by: Kanad Gupta <[email protected]>

* refactor: move code out of YAML and into bin/ script

* fix: lint fixes

Co-authored-by: Kanad Gupta <[email protected]>

Co-authored-by: Ryan Park <[email protected]>

Co-authored-by: Ryan Park <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
command:docs Issues pertaining to the `docs`, `changelogs`, or `custompages` commands refactor Issues about tackling technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants