github-pages

Showing C# <summary> tags in Jekyll Github pages using Highlight.js

心不动则不痛 提交于 2019-11-26 04:56:42
问题 To show codes successfully with simple HTML, I have added Highlight.js in my Jekyll based blog which is running on Github pages <!--Add Highlight.js https://highlightjs.org/download/ --> <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/styles/default.min.css\"> <script src=\"//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.0.0/highlight.min.js\"></script> <!-- Using Highight.js https://highlightjs.org/usage/--> <script> hljs.initHighlightingOnLoad(); </script

Hosting a Maven repository on github

丶灬走出姿态 提交于 2019-11-26 01:34:18
问题 I have a fork of a small open sourced library that I\'m working on on github. I\'d like to make it available to other developers via maven, but I don\'t want to run my own Nexus server, and because it\'s a fork I can\'t easily deploy it to oss.sonatype.org. What I\'d like to do is to deploy it to github so that others can access it using maven. What\'s the best way to do this? 回答1: The best solution I've been able to find consists of these steps: Create a branch called mvn-repo to host your