Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #182 from IBM/mkdocs
Browse files Browse the repository at this point in the history
add support for gh pages and mkdocs
  • Loading branch information
stevemar authored Jan 15, 2021
2 parents df32189 + aed79fc commit 5ec7881
Show file tree
Hide file tree
Showing 47 changed files with 117 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitbook.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Do not edit this file, to adjust the table of contents, modify SUMMARY.md

root: ./workshop/
root: ./docs/

structure:
readme: README.md
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: ci
on:
push:
branches:
- main
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ node_js: 10
before_script:
- npm install markdownlint-cli
script:
- markdownlint -c .markdownlint.json workshop --ignore workshop/SUMMARY.md
- ./.verify-links.sh -v workshop
- markdownlint -c .markdownlint.json docs --ignore docs/SUMMARY.md
- ./.verify-links.sh -v docs
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
98 changes: 98 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# Project information
site_name: Istio 101 Workshop
site_url: https://ibm.github.io/istio101
site_author: IBM Developer

# Repository
repo_name: istio101
repo_url: https://github.com/ibm/istio101
edit_uri: edit/master/docs

# Navigation
nav:
- Welcome:
- About the workshop: README.md
- Workshop:
- Lab 1. Access a Kubernetes cluster: exercise-1/README.md
- Lab 2. Install Istio: exercise-2/README.md
- Lab 3. Deploy sample application: exercise-3/README.md
- Lab 4. Observe service telemetry metrics: exercise-4/README.md
- Lab 5. Expose the service mesh: exercise-5/README.md
- Lab 6. Perform traffic management: exercise-6/README.md
- Lab 7. Secure your service mesh : exercise-7/README.md

## DO NOT CHANGE BELOW THIS LINE

# Copyright
copyright: Copyright © 2020 IBM Developer

# Theme
theme:
name: material
font:
text: IBM Plex Sans
code: IBM Plex Mono
icon:
logo: material/library
features:
# - navigation.tabs
- navigation.instant
palette:
scheme: default
primary: blue
accent: blue

# Plugins
plugins:
- search

# Customization
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/ibm
- icon: fontawesome/brands/twitter
link: https://twitter.com/ibmdeveloper
- icon: fontawesome/brands/linkedin
link: https://www.linkedin.com/company/ibm/
- icon: fontawesome/brands/youtube
link: https://www.youtube.com/user/developerworks
- icon: fontawesome/brands/dev
link: https://dev.to/ibmdeveloper

# Extensions
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- meta
- toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
Binary file removed workshop/README_images/.DS_Store
Binary file not shown.

0 comments on commit 5ec7881

Please sign in to comment.