-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40d6fb6
commit f36a8dd
Showing
7 changed files
with
100 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,34 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
--- | ||
# SPDX-license-identifier: Apache-2.0 | ||
############################################################################## | ||
# Copyright (c) 2022 | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Apache License, Version 2.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
|
||
name: Spellcheck CI | ||
|
||
# Controls when the action will run. | ||
# yamllint disable-line rule:truthy | ||
on: | ||
# Triggers the workflow on push or pull request events but only for the main branch | ||
pull_request: | ||
branches: [ main ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
types: | ||
- submitted | ||
paths: | ||
- '**.md' | ||
- '!.github/*' | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
check-spellcheck: | ||
name: Run PySpelling tool to verify spelling issues | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v2 | ||
|
||
- name: GitHub Spellcheck Action | ||
uses: rojopolis/spellcheck-github-actions@0.20.0 | ||
- name: install aspell dictionaries | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y aspell-es aspell-en | ||
- uses: rojopolis/spellcheck-github-actions@0.21.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ resources/ | |
node_modules/ | ||
tech-doc-hugo | ||
|
||
*.dic |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
titulo: Definición de plantilla | ||
estatus: Retroalimentación bienvenida | ||
categoría: concepto | ||
--- | ||
|
||
## Que es esto? | ||
Un rápido resumen del concepto, que es esto. | ||
|
||
## Problema que es solucionado | ||
Un par de lineas del problema que es solucionado. | ||
|
||
## Como esto ayuda | ||
Un par de lineas de como esto soluciona el problema. | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,47 @@ | ||
--- | ||
# SPDX-license-identifier: Apache-2.0 | ||
############################################################################## | ||
# Copyright (c) 2022 | ||
# All rights reserved. This program and the accompanying materials | ||
# are made available under the terms of the Apache License, Version 2.0 | ||
# which accompanies this distribution, and is available at | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
############################################################################## | ||
|
||
matrix: | ||
- name: Markdown | ||
sources: | ||
- 'content/en/*.md' | ||
default_encoding: utf-8 | ||
aspell: | ||
lang: en | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- wordlist.txt | ||
encoding: utf-8 | ||
pipeline: | ||
- pyspelling.filters.markdown: | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre | ||
- name: English content | ||
sources: | ||
- 'content/en/*.md' | ||
default_encoding: utf-8 | ||
aspell: | ||
lang: en | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- content/en/wordlist.txt | ||
encoding: utf-8 | ||
pipeline: | ||
- pyspelling.filters.markdown: | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre | ||
- name: Spanish content | ||
sources: | ||
- 'content/es/*.md' | ||
default_encoding: utf-8 | ||
aspell: | ||
lang: es | ||
ignore-case: true | ||
dictionary: | ||
wordlists: | ||
- content/es/wordlist.txt | ||
encoding: utf-8 | ||
pipeline: | ||
- pyspelling.filters.markdown: | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[tox] | ||
minversion = 3.15 | ||
skipsdist = True | ||
envlist = spell | ||
|
||
[testenv] | ||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY | ||
commands = | ||
find . -type f -name "*.pyc" -delete | ||
|
||
[testenv:spell] | ||
deps = | ||
pyspelling | ||
commands = pyspelling -c spellcheck.yml |