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

fix: update rdme now that this is on superhub #1061

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open

Conversation

mjcuva
Copy link
Member

@mjcuva mjcuva commented Feb 28, 2025

PR App Fix RM-XYZ

🧰 Changes

Update the docs syncing to use rdme@next now that this project is on superhub!

🧬 QA & Testing

@mjcuva mjcuva requested a review from kanadgupta February 28, 2025 21:12
hidden: false
title: Callouts
category:
uri: syntax
metadata:
Copy link
Member

Choose a reason for hiding this comment

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

have you tried syncing locally? i thiiiink this metadata object shape this might cause issues with APIv2

Copy link
Member Author

Choose a reason for hiding this comment

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

Oof yeah I tried this and it broke the markdown repo really bad (with no warning). I had to setup bidi and do a git revert from there to fix it.

Copy link
Member

Choose a reason for hiding this comment

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

😬 yikes okay let me know if you need a hand! and if you have more info on what the breakage was, i'm happy to look into it! our API is rather strict about request payloads now so i would have expected it to throw rather than accept this and break stuff 😮‍💨

for add'l background, with the end of january sprint on this docs upload release, i didn't include metadata object in the initial list of fields to have migration logic for but i did create a test todo in the rdme repo to eventually backfill it. sounds like we should add that soon 🫠

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the revert commit! https://github.com/readmeio/rdmd-docs/commit/8a1c29f0075e3a6eb3aa7b539fab2dec1a3cef0d

The big thing I think was the Syntax and syntax folders that got created for some reason. I also think some of the frontmatter that got created might have been invalid? Not sure

Copy link
Member

@kanadgupta kanadgupta Mar 3, 2025

Choose a reason for hiding this comment

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

ah okay — none of the diff looks frontmatter-related so not sure. i suppose this repo is pretty much the worst case scenario when it comes to MDX issues since the whole point of these docs is to demonstrate and test the limits of our markdown support 🫠 we deemed MDX issues out-of-scope for this rdme release but might be good to explore in the future!

@@ -61,6 +61,6 @@ jobs:
# Sync docs to rdmd.readme.io
#
- name: Sync docs to rdmd.readme.io
uses: readmeio/rdme@v9
uses: readmeio/rdme@next
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
uses: readmeio/rdme@next
uses: readmeio/rdme@v10.2.0-next.4

with:
rdme: docs ./docs --key=${{ secrets.RDME_KEY }} --version=2
rdme: docs upload ./docs --key=${{ secrets.RDME_KEY }} --version=2
Copy link
Member

Choose a reason for hiding this comment

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

i heard rumblings that we're consolidating these docs into the main project but i believe this API key points to the markdown project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants