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

Add config 'source_code_uri' #144

Merged
merged 2 commits into from Oct 16, 2021

Conversation

unasuke
Copy link
Contributor

@unasuke unasuke commented Oct 16, 2021

To refer to other presentation, it is useful to possible to read the source code of the presentation.
(I referred to hasmikin's code (rubykaigi 2021 takeout specific theme) in create my presentation when rubykaigi 2021 takeout.)

In a slide published on rubygems.org that has a specification "homepage" but it points uri of slide.rabbit-shocker.org.
Therefore, allow set metadata "source_code_uri" through config.yaml to easy to access the source code of the presentation.

You can confirm in this URL how it worked.
https://rubygems.org/gems/rabbit-slide-unasuke-rubykaigi-takeout-2021/versions/1.0.6

To refer to other presentation, it is useful to possible to read the source
code of the presentation.
In a slide published on rubygems.org that has a specification "homepage"
but it points uri of slide.rabbit-shocker.org.
Therefore, allow set metadata "source_code_uri" through config.yaml to
easy to access the source code of the presentation.
lib/rabbit/task/slide.rb Outdated Show resolved Hide resolved
@kou kou merged commit 456ab97 into rabbit-shocker:master Oct 16, 2021
@kou
Copy link
Member

kou commented Oct 16, 2021

It's a good idea!

@unasuke unasuke deleted the gem_metadata_source_code_uri branch October 17, 2021 14:43
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.

None yet

2 participants