No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
9 changed files with 175 additions and 11 deletions
Split View
Diff Options
-
1.gitattributes
-
9.gitignore
-
2CONTRIBUTING.md
-
30README.md
-
47docs/css/extra.css
-
68mkdocs.yml
-
3netlify.toml
-
2requirements.txt
-
24scripts/build.sh
@ -0,0 +1 @@ |
|||
Dangerfile linguist-documentation |
@ -0,0 +1,9 @@ |
|||
.DS_Store |
|||
*.do |
|||
bin/ |
|||
docs/*.md |
|||
include/ |
|||
lib/ |
|||
pip-selfcheck.json |
|||
pyvenv.cfg |
|||
site/ |
@ -0,0 +1,47 @@ |
|||
.bs-sidebar.well { |
|||
/* margin-bottom: 0; */ |
|||
} |
|||
|
|||
.bs-sidebar .nav > li > a:hover, |
|||
.bs-sidebar .nav > li > a:focus { |
|||
border: none; |
|||
border-left: 2px solid; |
|||
} |
|||
|
|||
.bs-sidebar .nav > .active > a, |
|||
.bs-sidebar .nav > .active:hover > a, |
|||
.bs-sidebar .nav > .active:focus > a { |
|||
border: none; |
|||
border-left: 2px solid; |
|||
} |
|||
|
|||
@media (min-width: 992px) { |
|||
.bs-sidebar.affix { |
|||
/* top: 60px; */ |
|||
/* bottom: 0px; */ |
|||
top: 80px; |
|||
bottom: 23px; |
|||
overflow: auto; |
|||
} |
|||
} |
|||
|
|||
@media (min-width: 1200px) { |
|||
.bs-sidebar.affix-bottom, |
|||
.bs-sidebar.affix { |
|||
width: 280px; |
|||
} |
|||
|
|||
.container > .col-md-9 { |
|||
padding-left: 40px; |
|||
} |
|||
} |
|||
|
|||
.md-header-nav__button.md-logo img { |
|||
margin-top: -3px; |
|||
width: 42px !important; |
|||
height: 42px !important; |
|||
} |
|||
|
|||
.md-footer-nav nav { |
|||
display: none; |
|||
} |
@ -0,0 +1,68 @@ |
|||
# Project information |
|||
site_name: 'Awesome Home Assistant' |
|||
site_url: 'https://awesome-ha.com' |
|||
site_description: 'A curated list of awesome Home Assistant resources for automating every aspect of your home' |
|||
site_author: 'Franck Nijhof' |
|||
copyright: 'Copyright 2018 - Franck Nijhof. Creative Commons Attribution 4.0.' |
|||
|
|||
# Repository |
|||
repo_name: 'awesome-home-assistant' |
|||
repo_url: 'https://github.com/frenck/awesome-home-assistant' |
|||
edit_uri: '' |
|||
|
|||
# Theme configuration |
|||
theme: |
|||
name: 'material' |
|||
logo: 'https://cdn.rawgit.com/frenck/awesome-home-assistant/master/images/icon.svg' |
|||
icon: 'https://cdn.rawgit.com/frenck/awesome-home-assistant/master/images/icon.svg' |
|||
language: 'en' |
|||
palette: |
|||
primary: 'light-blue' |
|||
accent: 'pink' |
|||
# feature: |
|||
# tabs: false |
|||
extra_css: |
|||
- css/extra.css |
|||
|
|||
# Customization |
|||
extra: |
|||
social: |
|||
- type: 'github' |
|||
link: 'https://github.com/frenck' |
|||
- type: 'twitter' |
|||
link: 'https://twitter.com/frenck' |
|||
- type: 'instagram' |
|||
link: 'https://instagram.com/frenck' |
|||
- type: 'twitch' |
|||
link: 'https://twitch.tv/internetofthings' |
|||
- type: 'youtube' |
|||
link: 'https://youtube.com/frenck' |
|||
- type: 'linkedin' |
|||
link: 'https://www.linkedin.com/in/frenck' |
|||
|
|||
# Extensions |
|||
markdown_extensions: |
|||
- toc: |
|||
permalink: true |
|||
- pymdownx.betterem: |
|||
smart_enable: all |
|||
- pymdownx.caret |
|||
- pymdownx.critic |
|||
- pymdownx.details |
|||
- pymdownx.emoji: |
|||
emoji_generator: !!python/name:pymdownx.emoji.to_svg |
|||
- pymdownx.inlinehilite |
|||
- pymdownx.magiclink |
|||
- pymdownx.mark |
|||
- pymdownx.smartsymbols |
|||
- pymdownx.superfences |
|||
- pymdownx.tasklist: |
|||
custom_checkbox: true |
|||
- pymdownx.tilde |
|||
|
|||
# The pages to serve |
|||
pages: |
|||
- "The Awesome List": "index.md" |
|||
- "Contributing": "contributing.md" |
|||
- "Code of Conduct": "code-of-conduct.md" |
|||
- "License": "license.md" |
@ -0,0 +1,3 @@ |
|||
[build] |
|||
publish = "site" |
|||
command = "./scripts/build.sh" |
@ -0,0 +1,2 @@ |
|||
mkdocs==0.17.5 |
|||
mkdocs-material==2.9.4 |
@ -0,0 +1,24 @@ |
|||
#!/usr/bin/env bash |
|||
# ============================================================================== |
|||
# Awesome Home Assistant |
|||
# This scripts builds the Awesome list into a website using mkdocs |
|||
# ============================================================================== |
|||
set -o errexit # Exit script when a command exits with non-zero status |
|||
set -o errtrace # Exit on error inside any functions or sub-shells |
|||
set -o nounset # Exit script on use of an undefined variable |
|||
set -o pipefail # Return exit status of the last command in the pipe that failed |
|||
|
|||
# Switch to the root of the repository. |
|||
cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")" |
|||
|
|||
# Install requirements |
|||
pip install -r requirements.txt |
|||
|
|||
# Get the pages into the docs folder |
|||
ln -sf ../README.md docs/index.md |
|||
ln -sf ../LICENSE.md docs/license.md |
|||
ln -sf ../CONTRIBUTING.md docs/contributing.md |
|||
ln -sf ../CODE_OF_CONDUCT.md docs/code-of-conduct.md |
|||
|
|||
# Build! |
|||
mkdocs build |