Skip to content

Commit

Permalink
added extra_css to yml also resolved issue OSCA-Kampala-Chapter#143
Browse files Browse the repository at this point in the history
  • Loading branch information
mosespace committed Nov 25, 2022
1 parent 6e07a6c commit 9fe636a
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# AutoBot Information
site_name: AutoBot Documentation
site_author: Tobais
edit_uri: blob/main/docs/

# Repository
repo_name: OSCA-Kampala-Chapter/autobot
repo_url: https://github.com/OSCA-Kampala-Chapter/autobot

# Configuration
theme:
name: material
features:
- navigation.tabs
- navigation.sections
- toc.integrate
- navigation.top
- header.autohide #the header is automatically hidden when the user scrolls past a certain threshold, leaving more space for content. Add the following lines to mkdocs.yml:
- search.suggest
- search.share
- search.highlight
language: en


palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
Expand Down Expand Up @@ -43,25 +46,18 @@ theme:
favicon: assets.png



# defines the order of the markdown-
# defines the order of the markdown
nav:
- Home: index.md
- Objects: objects.md
- Reference: reference.md
- FAQS: faqs.md

site_author: Tobais
site_description: >-
DESCRIPTION
# Repository
repo_name: OSCA-Kampala-Chapter/autobot
repo_url: https://github.com/OSCA-Kampala-Chapter/autobot

# These appeal to the footer section of the file and are linked to direct following handles

extra:
extra_css:
- stylesheets/extra.css
social:
- icon: fontawesome/brands/github
link: https://github.com/OSCA-Kampala-Chapter/autobot
Expand All @@ -72,9 +68,9 @@ extra:
- icon: fontawesome/brands/instagram
link: https://www.instagram.com/oscakampala


# These are markdown extensions: `They are used up in highliting of
#codes and even make the page to look more cute`

markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
Expand All @@ -88,13 +84,13 @@ markdown_extensions:
- pymdownx.superfences
- pymdownx.mark


# Plugins: This is a plugin that enables the search engine
#in the markdown file.

plugins:
- search:
separator: '[\s\-\.]'
- mkdocstrings:
- search:
separator: '[\s\-\.]'
- mkdocstrings:
custom_templates: templates
default_handler: python
handlers:
Expand Down

0 comments on commit 9fe636a

Please sign in to comment.