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

Provides multiple language previews #26

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Yaminyam
Copy link

@Yaminyam Yaminyam commented Mar 7, 2023

I demonstrated it as follows.
lablup/backend.ai#1139

Please feel free to let me know if there is anything to improve!
close #25


📚 Documentation preview 📚: https://readthedocs-preview--26.org.readthedocs.build/en/26/

Comment on lines -37 to +39
repository: "readthedocs/actions"
ref: "v1"
repository: "Yaminyam/actions"
ref: "main"
Copy link
Author

Choose a reason for hiding this comment

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

This part has been modified for test and must be returned before merging.

Copy link

Choose a reason for hiding this comment

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

See #28

Copy link
Member

@humitos humitos left a comment

Choose a reason for hiding this comment

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

Hey! Thanks for sending these changes! I think they are really good. I left some suggestions to be considered before moving forward with it 👍🏼

preview/action.yaml Outdated Show resolved Hide resolved
@@ -1,7 +1,7 @@
module.exports = async ({inputs, github, context}) => {
const PR_NUMBER = context.issue.number;
const RTD_PROJECT_SLUG = inputs["project-slug"];
const RTD_PROJECT_LANGUAGE = inputs["project-language"];
const RTD_PROJECT_LANGUAGES = inputs["project-languages"].split(",");
Copy link
Member

Choose a reason for hiding this comment

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

Instead of splitting it by ,, this attribute could be a list, right? Like

project-languages:
  - en
  - ja

Copy link
Author

Choose a reason for hiding this comment

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

image

It seems that only string, number, and boolean types are possible as arguments.

preview/scripts/edit-description.js Outdated Show resolved Hide resolved
preview/action.yaml Outdated Show resolved Hide resolved
preview/scripts/edit-description.js Outdated Show resolved Hide resolved
@Yaminyam Yaminyam requested a review from humitos March 8, 2023 04:49
@Yaminyam Yaminyam requested a review from LecrisUT July 3, 2023 09:02
@Yaminyam
Copy link
Author

Yaminyam commented Jul 3, 2023

@humitos Please review!

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.

Simultaneous support of multiple languages
3 participants