Skip to content

Commit bd21735

Browse files
authored
Revert change from upstream config.yml
We heavily customize the jekyll site config, so we should not sync from upstream.
1 parent fc9f6ea commit bd21735

File tree

2 files changed

+147
-6
lines changed

2 files changed

+147
-6
lines changed

.netconfig

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@
5353
sha = 5fb172362c767bef7c36478f1a6bdc264723f8f9
5454
etag = ad1efa56d6024ee1add2bcda81a7e4e38d0e9069473c6ff70374d5ce06af1f5a
5555
weak
56-
[file "docs/_config.yml"]
56+
[file "_config.yml"]
5757
url = https://github.com/devlooped/oss/blob/main/_config.yml
58-
sha = 68b409c486842062e0de0e5b11e6fdb7cd12d6e2
59-
etag = d608aa0ddaedc2d8a87260f50756e8d8314964ad4671b76bd085bcb458757010
60-
weak
58+
skip
6159
[file "src/Core/System/Threading/Tasks/AsyncLazy.cs"]
6260
url = https://github.com/devlooped/catbag/blob/main/System/Threading/Tasks/AsyncLazy.cs
6361
sha = 9f3330f09713aa5f746047e3a50ee839147a5797

docs/_config.yml

Lines changed: 145 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,146 @@
1-
theme: jekyll-theme-slate
1+
# add cert and key for ssl
2+
# uncomment when running the Back an Issue page, which
3+
# requires SSL for CORS to work from the backend/functions
4+
#ssl_cert: localhost.crt
5+
#ssl_key: localhost.key
26

3-
exclude: [ 'src/', '*.sln', '*.slnx', 'Gemfile*', '*.rsp' ]
7+
baseurl: "/SponsorLink"
8+
permalink: pretty
9+
10+
plugins:
11+
- jekyll-remote-theme
12+
- jekyll-seo-tag
13+
- jekyll-github-metadata
14+
- jekyll-include-cache
15+
16+
remote_theme: just-the-docs/just-the-docs@v0.6.1
17+
exclude:
18+
- app/
19+
- bin/
20+
- loc/
21+
- src/
22+
- '*.sln'
23+
- Gemfile*
24+
- .sass-cache/
25+
- .jekyll-cache/
26+
- gemfiles/
27+
- Gemfile
28+
- Gemfile.lock
29+
- node_modules/
30+
31+
# logo: "/assets/img/sponsorlink.png"
32+
ga_tracking: "G-BL91Q8VYCL"
33+
34+
aux_links_new_tab: true
35+
aux_links:
36+
"GitHub":
37+
- "https://github.com/devlooped/SponsorLink"
38+
39+
callouts_level: quiet # or loud
40+
callouts:
41+
highlight:
42+
color: yellow
43+
important:
44+
title: Important
45+
color: blue
46+
new:
47+
title: New
48+
color: green
49+
note:
50+
title: Note
51+
color: purple
52+
warning:
53+
title: Warning
54+
color: red
55+
issues-available:
56+
title: Available one-time funds
57+
color: green
58+
issues-backed:
59+
title: Backed issues
60+
color: yellow
61+
62+
compress_html:
63+
ignore:
64+
envs: all
65+
66+
markdown: kramdown
67+
kramdown:
68+
input: GFM
69+
hard_wrap: false
70+
syntax_highlighter_opts:
71+
block:
72+
line_numbers: true
73+
74+
footer_content: "Copyright © 2024 Daniel Cazzulino."
75+
76+
repository: devlooped/SponsorLink
77+
gh_edit_link: true
78+
gh_edit_link_text: "Edit on GitHub"
79+
gh_edit_repository: "https://github.com/devlooped/SponsorLink"
80+
gh_edit_branch: main
81+
gh_edit_source: docs
82+
gh_edit_view_mode: tree
83+
84+
# sponsorlink
85+
spec: 2.0.1
86+
spec_skip: ";2.0.0;2.0.0-rc.1;2.0.0-rc.2;"
87+
issues_template: |
88+
{{#if available}}
89+
<p class="mt-6 issues-available">Your one-time sponsorships can be assigned to fund specific issues.</p>
90+
<table class="borderless" style="border-collapse: collapse; padding: 4px; min-width: unset;">
91+
{{#each available}}
92+
<tr>
93+
<td class="borderless">$ {{amount}}</td>
94+
<td class="borderless" style="width: 100%;">
95+
<input class="border" style="width: 100%;" type="text" value="{{url}}" placeholder="Issue URL" id="{{sponsorshipId}}">
96+
</td>
97+
<td class="borderless"><button class="btn btn-green" onclick="backIssue('{{sponsorshipId}}');">Assign</button></td>
98+
</tr>
99+
{{/each}}
100+
</table>
101+
<p class="fs-3">
102+
<a href="https://github.com/sponsors/{{sponsorable}}?frequency=one-time" target="_blank"><button class="btn">➕ Add Funds</button></a>
103+
</p>
104+
{{else}}
105+
Please consider making one-time sponsorship(s) to <a target="_blank" href="https://github.com/sponsors/{{sponsorable}}?frequency=one-time">{{sponsorable}}</a> to back your chosen issue(s) 🙏.
106+
<p class="fs-3">
107+
<a href="https://github.com/sponsors/{{sponsorable}}?frequency=one-time" target="_blank"><button class="btn">➕ Add Funds</button></a>
108+
</p>
109+
{{/if}}
110+
{{#if backed}}
111+
<p class="mt-6 issues-backed">Issues can be backed multiple times to increase their funding.</p>
112+
<table class="borderless" style="border-collapse: collapse; padding: 4px; min-width: unset;">
113+
{{#each backed}}
114+
<tr>
115+
<td class="borderless">$ {{amount}}</td>
116+
<td class="borderless"><a href="{{url}}" target="_blank">{{issue}}</a></td>
117+
</tr>
118+
{{/each}}
119+
</table>
120+
{{/if}}
121+
122+
oss_template: |
123+
<p class="mt-6">You contributed to the following repositories, with <strong>{{ format downloads }}</strong> combined daily downloads:</p>
124+
<p>
125+
<img src="https://img.shields.io/endpoint?label=popular%20packages&style=social&logo=nuget&url=https%3A%2F%2Fsponsorlink.devlooped.com%2Fnuget%2Fid%3Fa%3D{{account}}" />
126+
<img src="https://img.shields.io/endpoint?label=Daily%20downloads&style=social&logo=nuget&url=https%3A%2F%2Fsponsorlink.devlooped.com%2Fnuget%2Fdl%3Fa%3D{{account}}" />
127+
<a href="#" onclick="copyMarkdown(event)"><img src="https://img.shields.io/badge/copy-md?logo=Markdown&color=%23000000"></a>
128+
</p>
129+
<table class="borderless" style="border-collapse: collapse; padding: 4px; min-width: unset;">
130+
<tr>
131+
<th class="borderless">Repository</th>
132+
<th class="borderless">Packages (downloads/day)</th>
133+
</tr>
134+
{{#each repositories}}
135+
<tr>
136+
<td class="borderless" style="vertical-align: text-top;"><a href="https://github.com/{{repo}}" target="_blank">{{repo}}</a></td>
137+
<td class="borderless" style="width: 100%; vertical-align: text-top;">
138+
<ul>
139+
{{#each packages}}
140+
<li><a href="https://nuget.org/packages/{{id}}" target="_blank">{{id}}</a> ({{format downloads}})</li>
141+
{{/each}}
142+
</ul>
143+
</td>
144+
</tr>
145+
{{/each}}
146+
</table>

0 commit comments

Comments
 (0)