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

Generate landing pages for pattern adopters #624

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0da4547
Add example of an adopters file, to test the relative links and rende…
spier Nov 24, 2023
4beb17a
Fix link
spier Nov 24, 2023
3efc0a9
Add another example (Airbus)
spier Nov 24, 2023
ba11dae
Adding some more examples
spier Nov 24, 2023
18982bf
[WIP] Adding unfinished script
spier Nov 24, 2023
82a93f0
Add minimal explanation to the adopters files
spier Nov 24, 2023
9f6fd59
Small script change
spier Nov 24, 2023
9c100ad
Try overview page that shows all adopters
spier Nov 25, 2023
cc194e5
Format adopters as sub-pages
spier Nov 25, 2023
c983b52
Remove group to simplify URL structure
spier Nov 25, 2023
c770328
Move adopters menu entry to the top
spier Nov 25, 2023
585fd2f
Add newline at end of adopter files
spier Nov 25, 2023
5cc5ac6
Explain how to make changes
spier Nov 25, 2023
245e842
Add contribution information to all files
spier Nov 25, 2023
2a75076
Testing overview page for adopters
spier Nov 25, 2023
21d5441
Add intro text for Adopters section
spier Nov 25, 2023
75c1d52
Cleanup Readme (overview)
spier Nov 25, 2023
569da1d
Remove extra newline at end of adopter files
spier Nov 25, 2023
df5e439
Experiment with cover image
spier Nov 25, 2023
0950850
Try hero image instead
spier Nov 25, 2023
328e970
Move cover image. Add description
spier Nov 25, 2023
e538533
Make the outline invisible
spier Nov 25, 2023
3e5dea5
Fix bug
spier Nov 25, 2023
b9987d0
Move list of all adopters (org names) to a separate file
spier Nov 25, 2023
0ebbc00
Now really make the outline invisible :)
spier Nov 25, 2023
65a2e5f
Sort list of adopters
spier Nov 25, 2023
dc133e1
List all adopters in ToC
spier Nov 25, 2023
0f07fba
Fix broken links
spier Nov 25, 2023
abd7a50
Simplify text
spier Nov 25, 2023
a6012ad
Move adopters further down in the toc (so that patterns are shown first)
spier Nov 28, 2023
b5c81cc
Try empty adopters group
spier Nov 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Explain how to make changes
spier committed Nov 25, 2023
commit 5cc5ac6c7b909480f56c8d0fc4b473900dc359a4
3 changes: 3 additions & 0 deletions adopters/generate_adopters.rb
Original file line number Diff line number Diff line change
@@ -120,6 +120,9 @@ def generate_markdown_filename(org_name)
file_content = "# #{org}\n\n"
file_content += "These are the InnerSource Patterns that #{org} has adopted:\n\n"
file_content += patterns_files.map{|f| "* [#{pattern_titles[f]}](#{f})"}.join("\n")
file_content += "If you work at *#{org}* and want to modify the list above, go to pattern that you are using, and add *#{org}* to *Known Instances* section."
file_content += "Use the 'Edit on GitHub' functionality to do this.\n"
file_content += "Once you the Pull Request with your changes has been merged, the list above will updated automatically.\n"
file_content += "\n"

File.write(markdown_filename, file_content)