Skip to content

Commit

Permalink
Remove relative links for markdown plugin
Browse files Browse the repository at this point in the history
This plugin caused the Github site builder to kill the build (github has
a limited number of trusted plugins - this wasn't one of them).
  • Loading branch information
felixmulder committed Oct 6, 2016
1 parent 10ff949 commit 8c54c8f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 270 deletions.
1 change: 0 additions & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
title: Dotty Documentation
baseurl: "/"
markdown: JekyllMarkdownLinkConverter
theme: minima
gems:
- jekyll-toc
10 changes: 9 additions & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,13 @@
</div>
</body>
<script src="/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script language="javascript">
hljs.initHighlightingOnLoad();
var x = document.links.length;
for (i = 0; i < x; i++) {
var thisHREF = document.links[i].href;
if (thisHREF.indexOf(window.location.hostname) > -1) thisHREF = thisHREF.replace(".md","/").replace("/index/","/");
document.links[i].setAttribute('href', thisHREF);
}
</script>
</html>
202 changes: 0 additions & 202 deletions docs/_plugins/JekyllMarkdownLinkConverter/LICENSE

This file was deleted.

66 changes: 0 additions & 66 deletions docs/_plugins/JekyllMarkdownLinkConverter/converter.rb

This file was deleted.

0 comments on commit 8c54c8f

Please sign in to comment.