diff --git a/docs/assets/font.css b/docs/assets/font.css new file mode 100644 index 0000000..5f21ab7 --- /dev/null +++ b/docs/assets/font.css @@ -0,0 +1,10 @@ + @import url("https://static.netsyms.net/fonts/roboto/Roboto.css"); + @import url("https://static.netsyms.net/fonts/roboto-mono/Roboto_Mono.css"); + +body, input { + font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; +} +pre, code, kbd { + font-family: "Roboto Mono", "Courier New", + Courier, monospace; +} diff --git a/docs/assets/track.js b/docs/assets/track.js new file mode 100644 index 0000000..370e2ea --- /dev/null +++ b/docs/assets/track.js @@ -0,0 +1,13 @@ + var _paq = _paq || []; + /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ + _paq.push(["setCookieDomain", "*.contributor.codes"]); + _paq.push(['trackPageView']); + _paq.push(['enableLinkTracking']); + _paq.push(["setDoNotTrack", true]); + (function() { + var u="https://analytics.netsyms.net/"; + _paq.push(['setTrackerUrl', u+'piwik.php']); + _paq.push(['setSiteId', '24']); + var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; + g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s); + })(); diff --git a/docs/index.md b/docs/index.md index b774264..977a004 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,4 +1,9 @@ Title: Home +# Contributor Codes + This website is dedicated to collecting and critiquing codes of conduct for open source projects, in a similar fashion to TLDRLegal. +## Help us out + +[Click here](https://source.netsyms.com/skylarmt/Contributor.Codes) to view the source code for this site and to contribute. We welcome additional codes of conduct. diff --git a/mkdocs.yml b/mkdocs.yml index 9f16cce..d963111 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,5 +1,10 @@ site_name: Contributor Codes theme: - name: 'mkdocs' + name: 'material' + font: false plugins: - search +extra_javascript: + - "assets/track.js" +repo_name: 'Source Code' +repo_url: 'https://source.netsyms.com/skylarmt/Contributor.Codes'