Comments (6)
Nice, anyone got a PR for this?
from flatdoc.
The resource links would need to be changed to github's raw URLs, e.g. https://raw.githubusercontent.com/rstacruz/flatdoc/gh-pages/v/0.8.1/flatdoc.js as links currently used in the template are redirected to http://ricostacruz.com which does not support https.
Unfortunately, ghbtns.com used in the template also does not support https yet, see mdo/github-buttons#61.
from flatdoc.
Oh, right. Forgot about that — gh-pages doesn't support HTTPS.
However, IIRC GitHub was pretty clear on not using https://raw.githubusercontent.com
on production sites. Perhaps there isn't a good way around this afterall, unless you host it yourself.
from flatdoc.
You're right, https://raw.githubusercontent.com
serves everything with content-type text/plain
.
Wouldn't https on gh-pages work if http://ricostacruz.com supported it or is that not supported by the redirect? At least if the page is accessed with https://user.github.io/repository without redirects, https works fine.
from flatdoc.
Google Fonts is now loaded via HTTPS. c1dbf23
from flatdoc.
rawgit.com offers a free CDN for git repos, and it support HTTPS. You should be able to use this URL:
https://cdn.rawgit.com/rstacruz/flatdoc/v0.8.6/flatdoc.js
from flatdoc.
Related Issues (20)
- Current project status HOT 5
- Search function
- role='flatdoc': flatdoc is not valid value of attribute 'role'
- Ordered list support
- Adding elements on('flatdoc:ready') causes scroll bar to desync
- Current state of flatdoc HOT 2
- Internal links HOT 1
- Search engine indexing
- Use Markdown files in same directory
- Making images float to the right
- SVG render width
- Static site generation? HOT 1
- When using Gravizo, it produces text
- Highlighting language HOT 1
- Does not properly parse TOCs generated from DocToc
- Broken syntax highlighting with mixed " and '
- Flatdoc shows only blank page HOT 4
- Flatdocs menu highlights wrong section HOT 1
- Does not work with webpack HOT 1
- Getting ParseError when compiling style.styl
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 flatdoc.