Skip to content

Commit

Permalink
Update docs, copyright, and build deps (#176)
Browse files Browse the repository at this point in the history
* Update docs, copyright, and build deps

* Use multiprocessing for spelling jobs and fix spelling issue
  • Loading branch information
facelessuser authored Jan 14, 2024
1 parent d5376c6 commit 8f42391
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 18 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
tests:

env:
TOXENV: py310
TOXENV: py311

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
Expand All @@ -39,11 +39,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
Expand All @@ -59,11 +59,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools tox
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
Expand Down
2 changes: 2 additions & 0 deletions .pyspelling.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
jobs: 8

matrix:
- name: mkdocs
pipeline:
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Released under the MIT license.

Copyright (c) 2015 - 2018 Julien Bouquillon, revolunet <julien@revolunet.com>

Copyright (c) 2018 - 2023 Isaac Muse <isaacmuse@gmail.com>
Copyright (c) 2018 - 2024 Isaac Muse <isaacmuse@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
Expand Down
2 changes: 1 addition & 1 deletion markdown_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def get_temp_preview_path(view):


def get_temp_preview_dir(view):
"""Return a permanent full dir of the temp markdown preview file."""
"""Return a permanent full directory of the temp markdown preview file."""
settings = sublime.load_settings('MarkdownPreview.sublime-settings')
path_tempfile = settings.get('path_tempfile')
if path_tempfile:
Expand Down
35 changes: 32 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repo_url: https://github.com/facelessuser/MarkdownPreview
edit_uri: tree/master/docs/src/markdown
site_description: Markdown preview and build plugin for Sublime Text
copyright: |
Copyright &copy; 2018 - 2023 <a href="https://github.com/facelessuser" target="_blank" rel="noopener">Isaac Muse</a>
Copyright &copy; 2018 - 2024 <a href="https://github.com/facelessuser" target="_blank" rel="noopener">Isaac Muse</a>
docs_dir: docs/src/markdown
theme:
Expand Down Expand Up @@ -76,8 +76,8 @@ markdown_extensions:
- pymdownx.caret:
- pymdownx.smartsymbols:
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.escapeall:
hardbreak: true
nbsp: true
Expand Down Expand Up @@ -112,6 +112,35 @@ markdown_extensions:
- example
- quote
- pymdownx.blocks.details:
types:
- name: details-new
class: new
- name: details-settings
class: settings
- name: details-note
class: note
- name: details-abstract
class: abstract
- name: details-info
class: info
- name: details-tip
class: tip
- name: details-success
class: success
- name: details-question
class: question
- name: details-warning
class: warning
- name: details-failure
class: failure
- name: details-danger
class: danger
- name: details-bug
class: bug
- name: details-example
class: example
- name: details-quote
class: quote
- pymdownx.blocks.html:
- pymdownx.blocks.definition:
- pymdownx.blocks.tab:
Expand Down

0 comments on commit 8f42391

Please sign in to comment.