Skip to content

Commit 68c87c9

Browse files
committed
Update docs to reference main branch instead of master (fixes #1070)
1 parent 733ed89 commit 68c87c9

4 files changed

Lines changed: 15 additions & 15 deletions

File tree

docs/index.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ <h2 class="docs-mainTitle">
836836
</blockquote>
837837
<p><strong>Animate.css</strong> is a library of ready-to-use, cross-browser animations for use in your web projects. Great for emphasis, home pages, sliders, and attention-guiding hints.</p>
838838

839-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/00-intro.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
839+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/00-intro.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
840840
</section>
841841

842842

@@ -900,7 +900,7 @@ <h4>CSS Custom Properties (CSS Variables)</h4>
900900
</code></pre>
901901
<p>Even though custom properties are not supported by some aging browsers, Animate.css provides a proper fallback, widening its support for any browser that supports CSS animations.</p>
902902

903-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/01-usage.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
903+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/01-usage.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
904904
</section>
905905

906906

@@ -1031,7 +1031,7 @@ <h3>Repeating classes</h3>
10311031
</code></pre>
10321032
<p>Notice that <code>animate__infinite</code> doesn't use any custom property and changes to <code>--animate-repeat</code> will have no effect on it. Don't forget to read the <a href="#best-practices">best practices</a> section to make the best use of repeating animations.</p>
10331033

1034-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/02-utilities.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1034+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/02-utilities.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
10351035
</section>
10361036

10371037

@@ -1072,7 +1072,7 @@ <h3>Overflow</h3>
10721072
<h3>Intervals between repeats</h3>
10731073
<p>Unfortunately, this isn't possible with pure CSS right now. You have to use Javascript to achieve this result.</p>
10741074

1075-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/03-best-practices.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1075+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/03-best-practices.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
10761076
</section>
10771077

10781078

@@ -1124,7 +1124,7 @@ <h2>Usage with Javascript</h2>
11241124
</code></pre>
11251125
<p>If you had a hard time understanding the previous function, have a look at <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const">const</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/API/Element/classList">classList</a>, <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions">arrow functions</a>, and <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promises</a>.</p>
11261126

1127-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/04-javascript.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1127+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/04-javascript.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
11281128
</section>
11291129

11301130

@@ -1159,7 +1159,7 @@ <h2>Migration from v3.x and under</h2>
11591159
</code></pre>
11601160
<p>In the case of a new project, it's highly recommended to use the default prefixed version as it'll make sure that you'll hardly have classes conflicting with your project. Besides, in later versions, we might decide to discontinue the <code>animate.compat.css</code> file.</p>
11611161

1162-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/06-migration.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1162+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/06-migration.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
11631163
</section>
11641164

11651165

@@ -1202,15 +1202,15 @@ <h3>Changing the default prefix</h3>
12021202
</code></pre>
12031203
<p>Easy peasy!</p>
12041204

1205-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/07-custom-builds.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1205+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/07-custom-builds.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
12061206
</section>
12071207

12081208

12091209
<section class="docSection-accessibility" id="accessibility">
12101210
<h2>Accessibility</h2>
12111211
<p>Animate.css supports the <a href="https://webkit.org/blog/7551/responsive-design-for-motion/"><code>prefers-reduced-motion</code> media query</a> so that users with motion sensitivity can opt-out of animations. On supported platforms (currently all the major browsers and OS, including mobile), users can select &quot;reduce motion&quot; on their operating system preferences and it will turn off CSS transitions for them without any further work required.</p>
12121212

1213-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/08-accessibility.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1213+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/08-accessibility.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
12141214
</section>
12151215

12161216

@@ -1238,7 +1238,7 @@ <h2>Core team</h2>
12381238
</tbody>
12391239
</table>
12401240

1241-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/09-contributors.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1241+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/09-contributors.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
12421242
</section>
12431243

12441244

@@ -1248,9 +1248,9 @@ <h2>License and Contributing</h2>
12481248
<h3>Contributing</h3>
12491249
<p>Pull requests are the way to go here. We only have two rules for submitting a pull request: match the naming convention (camelCase, categorized [fades, bounces, etc]) and let us see a demo of submitted animations in a <a href="https://codepen.io">pen</a>. That <strong>last one is important</strong>.</p>
12501250
<h3>Code of Conduct</h3>
1251-
<p>This project and everyone participating in it are governed by the <a href="https://github.com/animate-css/animate.css/blob/master/CODE_OF_CONDUCT.md">Contributor Covenant Code of Conduct</a>. By participating, you are expected to uphold this code. Please report unacceptable behavior to <a href="mailto:callmeelton@gmail.com">callmeelton@gmail.com</a>.</p>
1251+
<p>This project and everyone participating in it are governed by the <a href="https://github.com/animate-css/animate.css/blob/main/CODE_OF_CONDUCT.md">Contributor Covenant Code of Conduct</a>. By participating, you are expected to uphold this code. Please report unacceptable behavior to <a href="mailto:callmeelton@gmail.com">callmeelton@gmail.com</a>.</p>
12521252

1253-
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/master/docsSource/sections/09-license-contributing.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
1253+
<p class="edit-github"><a href="https://github.com/animate-css/animate.css/blob/main/docsSource/sections/09-license-contributing.md" title="Edit this on GitHub">Edit this on GitHub</a></p>
12541254
</section>
12551255

12561256
</div>
@@ -1280,7 +1280,7 @@ <h3>Code of Conduct</h3>
12801280
<footer class="main-footer">
12811281
<p>
12821282
Animate.css is a MIT licensed library.
1283-
You can use it freely, respecting the terms included in the <a href="https://github.com/daneden/animate.css/blob/master/LICENSE" title="license">license file.
1283+
You can use it freely, respecting the terms included in the <a href="https://github.com/daneden/animate.css/blob/main/LICENSE" title="license">license file.
12841284
</p>
12851285
</footer>
12861286

docsSource/compileMD.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function compileMD(dir = 'sections') {
2626
const sectionTemplate = (file, content) => {
2727
const message = 'Edit this on GitHub';
2828
const fileName = convertFileNameToId(file);
29-
const editURL = `https://github.com/animate-css/animate.css/blob/master/docsSource/sections/${file}`;
29+
const editURL = `https://github.com/animate-css/animate.css/blob/main/docsSource/sections/${file}`;
3030
const parsedContent = md.render(content);
3131

3232
return `

docsSource/sections/09-license-contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Pull requests are the way to go here. We only have two rules for submitting a pu
88

99
### Code of Conduct
1010

11-
This project and everyone participating in it are governed by the [Contributor Covenant Code of Conduct](https://github.com/animate-css/animate.css/blob/master/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [callmeelton@gmail.com](mailto:callmeelton@gmail.com).
11+
This project and everyone participating in it are governed by the [Contributor Covenant Code of Conduct](https://github.com/animate-css/animate.css/blob/main/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [callmeelton@gmail.com](mailto:callmeelton@gmail.com).

docsSource/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2 class="docs-mainTitle">
9999
<footer class="main-footer">
100100
<p>
101101
Animate.css is a MIT licensed library.
102-
You can use it freely, respecting the terms included in the <a href="https://github.com/daneden/animate.css/blob/master/LICENSE" title="license">license file.
102+
You can use it freely, respecting the terms included in the <a href="https://github.com/daneden/animate.css/blob/main/LICENSE" title="license">license file.
103103
</p>
104104
</footer>
105105

0 commit comments

Comments
 (0)