Comments (3)
Hmmm - I think you'd the need to modify the HTML layout for the book pages (https://github.com/choldgraf/jupyter-book/blob/master/_layouts/default.html) to include the disqus HTML. Could you give that a shot?
from jupyter-book.
This is the disqus_comments.html
<div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://pcl-to-all.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
Thanks again.
from jupyter-book.
I'm gonna close this one because it's not on the roadmap for now, but we can always re-visit once the new build system is out (beta.jupyterbook.org)
from jupyter-book.
Related Issues (20)
- code-cell using new/strange font -- how to revert to a fixed-width font? HOT 2
- Add feature in `_config.yml` to change sidebar logo URL HOT 1
- Error No such file or directory: '//anaconda3/bin/python' HOT 2
- sphinx==7.3 breaks builds HOT 2
- Issue on page /intro.html HOT 1
- Display math in admonition HOT 1
- AttributeError: 'EntryPoints' object has no attribute 'get' HOT 3
- Underscore in title doesn't get properly escaped for pdflatex build target, causing formatting errors HOT 1
- Issue on page /week2/DL_adaptLR.html HOT 1
- Issue on page /week2/DL_adaptLR.html HOT 1
- Can't build book on mac when folder name is not project name. HOT 1
- Dark mode doesn't properly style collapsed code blocks
- Fix analytics config remapping
- Upload to PyPI failed for 1.0.1 HOT 10
- Theme error HOT 1
- Jupylerbook HOT 1
- top left hamburger button not working HOT 6
- glitch in the docs for jb1, in the section on folium
- Grids of cards not rendering HOT 2
- Issue on page /Module-D7/torque.html
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyter-book.