squidfunk / mkdocs-material

Documentation that simply works
https://squidfunk.github.io/mkdocs-material/
MIT License
20.76k stars 3.52k forks source link

Disqus integration not working. #371

Closed julien-sarazin closed 7 years ago

julien-sarazin commented 7 years ago

Tried to integrate disqus on my documentation : https://julien-sarazin.github.io/Idylle/

Result when checking the Disqus integration : We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Package versions

Python 2.7.13 mkdocs 0.16.3 material: 1.7.3

Softwares Versions

# Project information
site_name: 'Idylle'
site_description: 'Presentation and Documentation of the micro-framework'
site_author: 'Julien Sarazin'
site_url: 'https://julien-sarazin.github.io'

# Repository
repo_name: 'julien-sarazin/Idylle'
repo_url: 'https://github.com/julien-sarazin/Idylle'

# Copyright
copyright: 'Copyright © 2016 - 2017'

# Documentation and theme
theme: 'material'

# Options
extra:
  logo: 'images/logo.svg'
  palette:
    primary: 'Pink'
    accent: 'Amber'
  font:
    text: 'Roboto'
    code: 'Roboto Mono'
  social:
    - type: 'github'
      link: 'https://github.com/julien-sarazin'
    - type: 'twitter'
      link: 'https://twitter.com/julien-sarazin'
    - type: 'linkedin'
      link: 'https://de.linkedin.com/in/julien-sarazin'
  disqus: 'jsarazin'

# Extensions
markdown_extensions:
  - admonition
  - codehilite(guess_lang=false,linenums=true)
  - toc(permalink=true)
  - pymdownx.arithmatex
  - pymdownx.betterem(smart_enable=all)
  - pymdownx.caret
  - pymdownx.critic
  - pymdownx.emoji:
      emoji_generator: !!python/name:pymdownx.emoji.to_svg
  - pymdownx.inlinehilite
  - pymdownx.magiclink
  - pymdownx.mark
  - pymdownx.smartsymbols
  - pymdownx.superfences
  - pymdownx.tasklist(custom_checkbox=true)
  - pymdownx.tilde

# Content
pages:
    - Introduction: index.md
    - Getting Started: getting-started.md
    - Architecture: architecture.md
    - Dependencies: dependencies.md

My Disqus username is jsarazin and added as trusted domain github.io and julien-sarazin.github.io.

squidfunk commented 7 years ago

I see it on your site but cannot reproduce it. Have you provided the correct website URL, with HTTPS? Is jsarazin the name of your form inside Disqus?

julien-sarazin commented 7 years ago

Regarding your questions, both are yes. I even deleted my disqus account an tried with another one and it still doesn't work. Shall i send you my credentials for the new disqus account ?

squidfunk commented 7 years ago

No, please don't send your credentials. I've actually seen the Disqus integration working with some sites. Can you maybe try to integrate Disqus with another site just for testing and ruling stuff out? We could then compare the way things are integrated and are probably able to debug it.

julien-sarazin commented 7 years ago

Don't worry I just fixed the issue. The problem was on my side. I was filling the wrong identifier to configure disqus (my profile identifier instead of the site identifier).