github-pages
How can I generate JavaScript API documentation for GitHub Pages [closed]
If you’re familiar with Grunt, you can easily generate .html docs with grunt-jsdoc. Document your code with JSDoc. Use grunt-jsdoc which internally uses jsdoc to generate code documentation. This will also output the source code in HTML and within the documentation it will include links to code lines for each publicly accessible member. You can … Read more
How to publish to Github Pages from Travis CI?
Step-by-step example with HTTPS API Token in environment variable Others have mentioned it, but here goes a more detailed procedure. Create a separate repository for the website (optional). This will reduce the likelihood that you overwrite your main repository, and will keep output files from polluting it. Get a Personal Access Token under https://github.com/settings/tokens Only … Read more
Error with Permissions-Policy header: Unrecognized feature: ‘interest-cohort’
Basically you can ignore it. GitHub hosted pages disable FLoC, which is Google’s 3rd party cookie alternative. GitHub, Microsoft, doesn’t seems to like it. GitHub Pages: Permissions-Policy: interest-cohort=() Header added to all pages sites
How do I get a multipage site from GitHub Pages’ automatic generator?
You can get github to generate .html files from .markdown files by ensuring the top of the .markdown starts with the —- block like this: — title: This will be used as the title-tag of the page head — hello ===== **You are here!** Found this here: http://xlson.com/2010/11/09/getting-started-with-github-pages.html
Is it possible to use HTTPS/SSL on GitHub Pages sites with a custom domain?
Custom domains on GitHub Pages do support HTTPS / SSL: GitHub Pages has supported custom domains since 2009, and sites on the *.github.io domain have supported HTTPS since 2016. Today, custom domains on GitHub Pages are gaining support for HTTPS as well, meaning over a million GitHub Pages sites will be served over HTTPS. https://blog.github.com/2018-05-01-github-pages-custom-domains-https/ … Read more
Add syntax highlighting to gh-pages
Pages already does pygments, there’s nothing to install. Just use it! — layout: default title: Something with codes — Happy fun highlighting. [More details](https://github.com/mojombo/jekyll/wiki/liquid-extensions) {% highlight ruby %} def foo puts ‘foo’ end {% endhighlight %}
Table not render when use Redcarpet in Jekyll GitHub Pages?
Adding only markdown: redcarpet into _config.yml is not enough, It’s also need the extensions part, e.g. markdown: redcarpet redcarpet: extensions: [“no_intra_emphasis”, “fenced_code_blocks”, “autolink”, “tables”, “with_toc_data”]
Images not displaying in Github Pages?
Nevermind, I solved it. If anyone has the same problem. GitHub Pages are case sensitive. Not only for folders, but also for image names.