Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contributing review linkcheck #526

Merged
merged 34 commits into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ca23ef8
Add React to the glossary. The proper name is React, not ReactJS.
stevepiercy Sep 11, 2021
8d87276
Fix GitHub navigation links
stevepiercy Sep 11, 2021
af17893
Expand Contributing to include Plone CLA/publishing permission, using…
stevepiercy Sep 11, 2021
65737ea
Add MyST and Markdown to Glossary
stevepiercy Sep 11, 2021
22709b6
Update link to contributing.
stevepiercy Sep 12, 2021
872d0b5
The guide is for any contributor, not just authors
stevepiercy Sep 12, 2021
ac8ce78
Remove translation-related packages polib, transifex-client.
stevepiercy Sep 12, 2021
e5bffb1
Makefile: Fix whitespace, set output to $(BUILDDIR) instead of hard-c…
stevepiercy Sep 12, 2021
b3454b5
Add a few good words for spellcheck
stevepiercy Sep 12, 2021
f41717e
Remove unused, undocumented, and unsupported spell checking tools
stevepiercy Sep 12, 2021
5cb3f50
Remove duplicate words
stevepiercy Sep 12, 2021
8e828e8
Fix link to contributing
stevepiercy Sep 12, 2021
105936e
Fix warning after rst to myst conversion
stevepiercy Sep 12, 2021
50cc2f7
Improve spacing around local navigation. Items that wrapped onto mult…
stevepiercy Sep 12, 2021
314bcb0
lower the linkcheck_timeout to 5 seconds
stevepiercy Sep 12, 2021
a93e8f2
Bad developer added bad links to exclude from link check. I done fixe…
stevepiercy Sep 13, 2021
dadf190
Use em dash, not double hyphen
stevepiercy Sep 13, 2021
1681b5e
Twitter does not redirect
stevepiercy Sep 13, 2021
abbae66
Add gulp-cli to package.json
stevepiercy Sep 13, 2021
2837c78
mail server is two words
stevepiercy Sep 13, 2021
3264cdb
Add reStructuredText to Glossary
stevepiercy Sep 13, 2021
1b15906
Reorganize contributing directory to focus on target audiences.
stevepiercy Sep 13, 2021
a5c2461
Remove as redundant
stevepiercy Sep 13, 2021
c39f9f5
Remove unnecessary gulp command and flags
stevepiercy Sep 14, 2021
184a7d6
Overhaul of markup-syntax.md. This got lost when I did a rebase.
stevepiercy Sep 14, 2021
ea9c2e6
Rename and refactor markup-syntax to writing-docs-guide
stevepiercy Sep 14, 2021
8f8fe69
Rename and refactor teachers-training to teaching
stevepiercy Sep 14, 2021
f4c8763
Remove redundant sections and add references to authoritative sources
stevepiercy Sep 14, 2021
ac21ab5
Use modern placeholder image services that don't timeout and cause li…
stevepiercy Sep 14, 2021
3321d44
Expand section on syntax highlighting and lexers
stevepiercy Sep 14, 2021
1ea7a22
Fix links to /teaching/
ksuess Sep 15, 2021
f9e94b8
Hide toc from landing page
ksuess Sep 15, 2021
fd341bf
Remove redundant info about contributing and teaching from mastering-…
ksuess Sep 15, 2021
5d9fffd
Complement info about teaching in "about mastering plone training"
ksuess Sep 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
See our [contributing guidelines](https://training.plone.org/about/).
See our [contributing guidelines](https://training.plone.org/5/contributing/index.html).
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Different Plone Trainings:
Documentation
=============

Documentation on how to use, build and contribute to the trainings can be found on the `Training Website <https://training.plone.org/5/mastering-plone/about_mastering.html>`_ .
Documentation on how to use, build and contribute to the trainings can be found on the `Training Website <https://training.plone.org/5/contributing/index.html>`_ .


The landing page
Expand All @@ -50,5 +50,5 @@ If you are having issues, please let us know by opening an issue in our `Issue T
License
=======

The project is licensed under the `Creative Commons Attribution 4.0 International License <https://creativecommons.org/licenses/by/4.0/>`_ by the `Plone Foundation <https://plone.org>`_
The project is licensed under the `Creative Commons Attribution 4.0 International License <https://creativecommons.org/licenses/by/4.0/>`_ by the `Plone Foundation <https://plone.org>`_.

3 changes: 0 additions & 3 deletions about.md

This file was deleted.

99 changes: 0 additions & 99 deletions docs/.textlintrc

This file was deleted.

7 changes: 0 additions & 7 deletions docs/.ttd-lintrc

This file was deleted.

14 changes: 7 additions & 7 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ help:
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
@echo " spellcheck to run spellcheck against the documentation (if enabled)"
@echo " test run spell and link check in order to test"
@echo " deploy run clean and html, to get a clean build"
@echo " spellcheck to run spellcheck against the documentation (if enabled)"
@echo " test to run spell and link check in order to test"
@echo " deploy to run clean and html, to get a clean build"
@echo " presentation to make HTML in presentation mode"

.PHONY: clean
Expand Down Expand Up @@ -192,14 +192,14 @@ linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in log/linkcheck/output.txt."
"or in $(BUILDDIR)/linkcheck/output.txt."

.PHONY: spellcheck
spellcheck:
LANGUAGE=$* $(SPHINXBUILD) -b spelling -j 4 $(ALLSPHINXOPTS) log/spellcheck/$*
LANGUAGE=$* $(SPHINXBUILD) -b spelling -j 4 $(ALLSPHINXOPTS) $(BUILDDIR)/spellcheck/$*
@echo
@echo "Spellcheck is finished; look for any errors in the above output " \
" or in log/spellcheck/output.txt."
" or in $(BUILDDIR)/spellcheck/output.txt."

.PHONY: doctest
doctest:
Expand All @@ -208,7 +208,7 @@ doctest:
"results in $(BUILDDIR)/doctest/output.txt."

.PHONY: test
test: clean
test: clean linkcheck spellcheck

.PHONY: deploy
deploy: clean html
6 changes: 6 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -190,4 +190,10 @@ main.bd-content #main-content dl.simple dt + dd {
overflow-x: hidden;
color: rgba(0,0,0,.65);
border-radius: 10px;
}

/* Local navigation */
li.nav-item.toc-entry {
line-height: 1.25em;
margin-bottom: 0.25em;
}
2 changes: 1 addition & 1 deletion docs/angular/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ That's how collective.themesitesetup gets enabled.
Now we need to save our current Plone configuration into our theme.

We need to use the `collective.themesitesetup` export feature available here:
<http://whatever.herokuapp.com/Plone/++theme++plonecustom/@@export-site-setup>.
`http://whatever.herokuapp.com/Plone/++theme++plonecustom/@@export-site-setup`.

Obviously we do not need to export everything, in our current case we just want to get the comment feature related configuration and the content type configuration, so we just select `typeinfo` and `plone.app.registry`.

Expand Down
2 changes: 0 additions & 2 deletions docs/badwords.txt

This file was deleted.

41 changes: 14 additions & 27 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@
# They can be extensions coming with Sphinx (named "sphinx.ext.*")
# or your custom ones.
extensions = [
"sphinx_copybutton",
"sphinx.ext.intersphinx",
"myst_parser",
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx_copybutton",
"sphinxcontrib.spelling",
"myst_parser",
]

# For more information see:
Expand All @@ -73,6 +73,13 @@
# instead of ```.
]

# If true, the Docutils Smart Quotes transform, originally based on SmartyPants
# (limited to English) and currently applying to many languages, will be used
# to convert quotes and dashes to typographically correct entities.
# Note to maintainers: setting this to `True` will cause contractions and
# hyphenated words to be marked as misspelled by spellchecker.
smartquotes=False

# The name of the Pygments (syntax highlighting) style to use.
# pygments_style = "sphinx.pygments_styles.PyramidStyle"
pygments_style = "sphinx"
Expand All @@ -82,29 +89,19 @@
linkcheck_ignore = [
r"http://localhost:\d+",
r"http://127.0.0.1:8080",
r"http://wiki.apache.org",
r"https://wiki.apache.org",
r"https://www.vagrantup.com",
r"https://www.dipf.de/en/research/projects",
r"http://whatever.herokuapp.com",
r"http://example.com",
r"http://lorempixel.com",
r"https://plonedemo.kitconcept.com/en/@search",
r"https://www.packtpub.com",
r"https://lucidworks.com",
r"https://twitter.com", # linkcheck redirects to mobile version
r"https://github.com/plone/training/issues/new/choose", # requires auth
r"https://www.linode.com", # linkcheck makes a HEAD request, which is 403
]
linkcheck_anchors = False
linkcheck_timeout = 30
linkcheck_timeout = 5

# This is our wordlist with know words, like Github or Plone ...
spelling_word_list_filename = "spelling_wordlist.txt"
spelling_ignore_pypi_package_names = True

# The suffix of source filenames.
source_suffix = {
".rst": "restructuredtext",
".md": "markdown",
}

Expand All @@ -118,19 +115,7 @@
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = [
".github/CONTRIBUTING.md",
"CHANGES.rst",
"README.rst",
"_build",
"bin",
"env",
"include",
"lib",
"local",
"log",
"spelling_wordlist.txt",
"node_modules",
"about.md",
]


Expand All @@ -154,6 +139,8 @@

html_theme_options = {
"repository_url": "https://github.com/plone/training",
"repository_branch": "main",
"path_to_docs": "docs",
"use_repository_button": True,
"use_issues_button": True,
"use_edit_page_button": True,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading