8000 Github repo stars and forks component counters doesn't shows up · Issue #421 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

Skip to content

Github repo stars and forks component counters doesn't shows up #421

@elvismdev

Description

@elvismdev

Description

The Github repo stars and forks counters doesn't shows up.

Expected behavior

I expect them to show up like in the demo and documentation page http://squidfunk.github.io/mkdocs-material/

image

Actual behavior

Instead it comes up with the "vendor/package" slug name only, without nothing under it. Also no JS errors in the console or in the mkdocs serve log in my console once I run it to develop from http://127.0.0.1:8000/

image

If I "inspect elements" and compare with the markup from the demo, I see this part is completely missing on my end.

<ul class="md-source__facts"
    <li class="md-source__fact">621 Stars</li>
    <li class="md-source__fact">170 Forks</li>
</ul>

Steps to reproduce the bug

  1. Install the latest version of Material with pip: pip install mkdocs-material
  2. Add the following line to mkdocs.yml: theme: 'material'
  3. Run the built-in dev-server: mkdocs serve
  4. Open up http://127.0.0.1:8000/ in the browser

Package versions

  • Python: Python 2.7.10
  • MkDocs: mkdocs, version 0.16.3
  • Material: Version: 1.7.5

Project configuration

site_name: Starter WordPress Theme
repo_url: https://github.com/vendorname/starter-wp-theme
repo_name: vendorname/starter-wp-theme
edit_uri: edit/master/docs
site_author: Elvis Morales
site_description: A WordPress starter theme.
theme: material
pages:
  - About: index.md
  - Getting Started: getting-started.md
  - Helper Functions: helper-functions.md


# Copyright
copyright: 'Copyright &copy; 2016 - 2017 Elvis Morales'


# Options
extra:
  feature:
    tabs: false
  palette:
    primary: red
    accent: red
  social:
    - type: globe
      link: https://companyname.com
    - type: github-alt
      link: https://github.com/companyname
    - type: twitter
      link: https://twitter.com/companyname
    - type: linkedin
      link: https://linkedin.com/companyname

markdown_extensions:
  - toc:
      permalink: true```

### System information

* OS: macOS Sierra 10.12.5
* Browser: Google Chrome Version 59.0.3071.115

Metadata

Metadata

Assignees

Labels

bugIssue reports a bug

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0