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

Parameterize category for rdme docs #645

Open
Tracked by #801
elaamrani opened this issue Oct 27, 2022 · 2 comments
Open
Tracked by #801

Parameterize category for rdme docs #645

elaamrani opened this issue Oct 27, 2022 · 2 comments
Labels
command:docs Issues pertaining to the `docs`, `changelogs`, or `custompages` commands enhancement New feature or request
Milestone

Comments

@elaamrani
Copy link

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/rdme@7.5.0
        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!

@kanadgupta kanadgupta added enhancement New feature or request command:docs Issues pertaining to the `docs`, `changelogs`, or `custompages` commands labels Oct 27, 2022
@kanadgupta
Copy link
Member

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!

@elaamrani
Copy link
Author

elaamrani commented Oct 27, 2022

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.

@kanadgupta kanadgupta changed the title Add environment variable to markdown header Parameterize category for rdme docs Aug 8, 2023
@kanadgupta kanadgupta mentioned this issue Sep 5, 2023
22 tasks
@kanadgupta kanadgupta added this to the v9 milestone Sep 14, 2023
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
Development

No branches or pull requests

2 participants