Skip to content

Commit 60e67ef

Browse files
committed
Adding sponsorship link into the documentation
1 parent 634275b commit 60e67ef

File tree

7 files changed

+496
-388
lines changed

7 files changed

+496
-388
lines changed

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ trim_trailing_whitespace = true
1010

1111
[*.md]
1212
trim_trailing_whitespace = false
13+
14+
[*.js]
15+
indent_size = 2
16+
17+
[*.css]
18+
indent_size = 2

docs/_data/project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ releases:
3434
author:
3535
name: 'Ignace Nyamagana Butera'
3636
twitter_account: 'nyamsprod'
37+
github_account: 'nyamsprod'
3738
# Homepage specific
3839
highlights:
3940
description: 'The library was designed for developers who want to deal with CSV data using modern code and without the high levels of bootstrap and low-levels of usefulness provided by existing core functions or third party-code.'

docs/_layouts/default.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<link rel="icon" type="image/x-icon" href="//theme.thephpleague.com/img/favicon.ico" />
1818
<link rel="apple-touch-icon-precomposed" href="//theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
1919
<link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?2">
20-
<link rel="stylesheet" href="/custom.css?26">
20+
<link rel="stylesheet" href="/custom.css?27">
2121
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
2222
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.project.google_analytics_tracking_id }}"></script>
2323
<script>
@@ -107,11 +107,15 @@ <h2>{{ section[0] }}</h2>
107107
</article>
108108
</main>
109109

110+
<aside class="sponsors hide">
111+
<p><a class="close" title="hide this message">x</a> Love this package ? Support its development via <a href="https://github.com/sponsors/{{ site.data.project.author.github_account }}">monthly sponsorship!</a></p>
112+
</aside>
113+
110114
<footer>
111115
<span>&copy; Copyright <a href="//thephpleague.com">The League of Extraordinary Packages</a>.</span>
112116
<span>Site design by <a href="//reinink.ca">Jonathan Reinink</a> and <a href="//nyamsprod.com">Ignace Nyamagana Butera</a>.</span>
113117
</footer>
114-
<script src="/custom.js?4"></script>
118+
<script src="/custom.js?5"></script>
115119
<script src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script>
116120
<script> docsearch({
117121
apiKey: '63ba748e8f5bceb91934667c118972d0',

docs/_layouts/homepage.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<link rel="icon" type="image/x-icon" href="{{ site.data.images.favicon }}" />
1212
<link rel="apple-touch-icon-precomposed" href="//theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
1313
<link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?2">
14-
<link rel="stylesheet" href="/homepage.css?18">
14+
<link rel="stylesheet" href="/homepage.css?19">
1515
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.project.google_analytics_tracking_id }}"></script>
1616
<script>
1717
window.dataLayer = window.dataLayer || [];
@@ -35,6 +35,10 @@ <h2>{{ site.data.project.tagline }}</h2>
3535
</div>
3636
</header>
3737

38+
<aside class="sponsors hide">
39+
<p><a class="close" title="hide this message">x</a> Love this package ? Support its development via <a href="https://github.com/sponsors/{{ site.data.project.author.github_account }}">monthly sponsorship!</a></p>
40+
</aside>
41+
3842
<main>
3943
<div class="highlights">
4044
<div class="inner-content">
@@ -72,5 +76,8 @@ <h1>Questions?</h1>
7276
<span>&copy; Copyright <a href="//thephpleague.com">The League of Extraordinary Packages</a>.</span>
7377
<span>Site design by <a href="//reinink.ca">Jonathan Reinink</a> and <a href="//nyamsprod.com">Ignace Nyamagana Butera</a>.</span>
7478
</footer>
79+
80+
<script src="/custom.js?5"></script>
81+
7582
</body>
7683
</html>

0 commit comments

Comments
 (0)