rdme icon indicating copy to clipboard operation
rdme copied to clipboard

Parameterize `category` for `rdme docs`

Open elaamrani opened this issue 2 years ago • 2 comments

Hello team,

I would like to parametrize the category in markdown headers that are synced with Readme.com using Github Actions.

I have tried the following:

  • ${CATEGORY_ID}
  • {{ process.env.CATEGORY_ID }}
  • {{ process.env.CATEGORY_ID }}
  • "{{ process.env.CATEGORY_ID }}"

They have all failed with rdme's GitHub action:

      - uses: readmeio/[email protected]
        with:
          rdme: docs ./docs --key=API_KEY --version=1.0

Please let me know if you need any additional information. We would greatly appreciate your help.

Thanks!

elaamrani avatar Oct 27 '22 11:10 elaamrani

Hi @elaamrani! This isn't currently something that rdme supports, but we'll take this into consideration as we ideate future improvements to docs syncing. Thanks!

kanadgupta avatar Oct 27 '22 14:10 kanadgupta

Thanks @kanadgupta for your follow-up. That would be very helpful especially if you have the same documentation for different environments (staging, production ...) each as a different Readme.com project.

elaamrani avatar Oct 27 '22 16:10 elaamrani