mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed #1864: GitHub organisation stats not loading
This commit is contained in:
parent
12519a2411
commit
4639ff8313
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.30071cf1.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.30071cf1.min.js.map",
|
||||
"assets/javascripts/bundle.js": "assets/javascripts/bundle.b7ed72fe.min.js",
|
||||
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.b7ed72fe.min.js.map",
|
||||
"assets/javascripts/vendor.js": "assets/javascripts/vendor.d1f5a259.min.js",
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.d1f5a259.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.fae956e7.min.js",
|
||||
|
@ -183,7 +183,7 @@
|
||||
</div>
|
||||
{% block scripts %}
|
||||
<script src="{{ 'assets/javascripts/vendor.d1f5a259.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.30071cf1.min.js' | url }}"></script>
|
||||
<script src="{{ 'assets/javascripts/bundle.b7ed72fe.min.js' | url }}"></script>
|
||||
{%- set translations = {} -%}
|
||||
{%- for key in [
|
||||
"clipboard.copy",
|
||||
|
@ -69,7 +69,7 @@ function fetchSourceFacts(
|
||||
|
||||
/* GitHub repository */
|
||||
case "github":
|
||||
const [, user, repo] = url.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)/i)
|
||||
const [, user, repo] = url.match(/^.+github\.com\/([^\/]+)\/?([^\/]+)?/i)
|
||||
return fetchSourceFactsFromGitHub(user, repo)
|
||||
|
||||
/* GitLab repository */
|
||||
|
Loading…
Reference in New Issue
Block a user