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

feat: custom pages support #547

Merged
merged 8 commits into from
Jul 28, 2022
Merged

Conversation

kanadgupta
Copy link
Member

🚥 Fix RM-4889

🧰 Changes

Adds support for the Custom Pages endpoints to rdme. Will be updating documentation/rdme.md in a later PR.

🧬 QA & Testing

The test suite should look familiar, but only real differences to call out is that we support HTML files in Custom Page uploads, so we include a handful of tests for that.

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
@kanadgupta kanadgupta requested a review from erunion July 28, 2022 19:12
@kanadgupta kanadgupta added enhancement New feature or request 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 review from a team, Dashron and domharrington and removed request for a team July 28, 2022 19:47
README.md Show resolved Hide resolved
__tests__/cmds/custompages.test.js Show resolved Hide resolved
src/lib/pushDoc.js Show resolved Hide resolved
kanadgupta and others added 2 commits July 28, 2022 15:57
* 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
* 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]>
@kanadgupta kanadgupta merged commit af61f7e into main Jul 28, 2022
@kanadgupta kanadgupta deleted the kanad/rm-4889-custom-pages-support branch July 28, 2022 21:06
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 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants