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

Automation for pushing docs to the Community content bucket of AsyncAPI website #304

Open
smoya opened this issue Jun 13, 2024 · 9 comments

Comments

@smoya
Copy link
Member

smoya commented Jun 13, 2024

Description

Part of the effort the Maintainers Growth WG is doing in order to help maintainers of this repository to facilitate and attract new maintainers.

We need a GH Workflow that copies Markdown documentation from this repository to the Community content bucket in https://github.com/asyncapi/website/tree/master/markdown/docs/community, so it gets displayed under https://www.asyncapi.com/docs/community (under maintainer subsection, as stated in https://github.com/orgs/asyncapi/discussions/1136).

Google Chrome_XdKOmPUT@2x

The GH Workflow should be triggered every time documentation is changed in this repository.

Regarding the directories where the documentation will exist:

  • The source of docs will be under /docs/maintainer-onboarding-guide on this right repository (.github).
  • The target where the docs should be copied from source dir will be under /docs/maintainer-onboarding-guide in Community repository

cc @asyncapi/maintainers_growth_wg

@akkshitgupta
Copy link

I would like to work on this issue.

@akshatnema
Copy link
Member

@smoya @aeworxet I would like to take this bounty issue and work on it 😊

(if @smoya don't have any problem 😅 )

@smoya
Copy link
Member Author

smoya commented Jun 14, 2024

I removed this issue from the bounty due to the fact I wrongly set up complexity. I didn't know most of the job is done in https://github.com/asyncapi/cli/blob/master/.github/workflows/update-docs-in-website.yml and that there is an ongoing PR very very similar to the work we need to do here.

cc @akkshitgupta @akshatnema

@akkshitgupta
Copy link

willing to continue if I am eligible as I was not for the bounty one 😅

Copy link
Member

Sure @akkshitgupta, go ahead 🚀

@akkshitgupta
Copy link

@smoya I have some questions

  • The content copied to website/docs/community via a pull request or directly pushed to it (as it has already been processed before pushing to production)
  • Will we be having the docs from the root of the .github repo or a new directory containing all the docs specific to the website needs to be created.

More details about the final bucket name inside community content bucket will be provided soon.

@smoya
Copy link
Member Author

smoya commented Jun 17, 2024

  • The content copied to website/docs/community via a pull request or directly pushed to it (as it has already been processed before pushing to production)

Pull Request, as in https://github.com/asyncapi/cli/blob/master/.github/workflows/update-docs-in-website.yml. As the user of such a PR is asyncapi-bot, the automerge workflow will autoapprove and automerge the PR.

Will we be having the docs from the root of the .github repo or a new directory containing all the docs specific to the website needs to be created.

That's actually a good question. I would move forward with the second option: to have a new dir called /docs with all of the documentation we want to copy to the other repo.

cc @derberg @alequetzalli just in case

@smoya
Copy link
Member Author

smoya commented Jun 20, 2024

Regarding the directories where the documentation will exist:

  • The source of docs will be under /docs/maintainer-onboarding-guide on this right repository (.github).
  • The target where the docs should be copied from source dir will be under /docs/maintainer-onboarding-guide in Community repository

@smoya
Copy link
Member Author

smoya commented Jun 20, 2024

@akkshitgupta are you still willing to work on this 😄 ?

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 a pull request may close this issue.

3 participants