Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Our [technical contributions wiki](https://github.com/programminghistorian/jekyll/wiki/Making-technical-contributions) describes best practices for modifying the code that generates _The Programming Historian_ itself.

If you are interested in making a _content_ contribution like a new lesson, please see our [pages on contributing as an author or an editor](http://programminghistorian.org/contribute).
If you are interested in making a _content_ contribution like a new lesson, please see our [pages on contributing as an author or an editor](https://programminghistorian.org/contribute).

## Anti-harassment Policy

The *Programming Historian* is dedicated to providing an open scholarly environment that offers community participants the freedom to thoroughly scrutinize ideas, to ask questions, make suggestions, or to requests for clarification, but also provides a harassment-free space for all contributors to the project, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, age or religion, or technical experience. We do not tolerate harassment or ad hominem attacks of community participants in any form. Participants violating these rules may be expelled from the community at the discretion of the editorial board. If anyone witnesses or feels they have been the victim of the above described activity, please contact our ombudspeople (see the contact for each language on our Project Team page: <http://programminghistorian.org/project-team>). Thank you for helping us to create a safe space.
The *Programming Historian* is dedicated to providing an open scholarly environment that offers community participants the freedom to thoroughly scrutinize ideas, to ask questions, make suggestions, or to requests for clarification, but also provides a harassment-free space for all contributors to the project, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, race, age or religion, or technical experience. We do not tolerate harassment or ad hominem attacks of community participants in any form. Participants violating these rules may be expelled from the community at the discretion of the editorial board. If anyone witnesses or feels they have been the victim of the above described activity, please contact our ombudspeople (see the contact for each language on our Project Team page: <https://programminghistorian.org/project-team>). Thank you for helping us to create a safe space.
17 changes: 12 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if : github.event.action != 'closed'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
ruby-version: 3.2.2
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
# We then check if we can build our Jekyll site (all this logic is built-in with Jekyll and this prevents us from merging in any syntax errors).
- name: Jekyll build
Expand All @@ -29,12 +29,19 @@ jobs:
bundle exec jekyll build
# Next we check all the links in our site to make sure we aren't pushing up broken links.
- name: Check HTML
uses: zoeleblanc/htmlproofer@master
if : github.event.action != 'closed'
uses: chabad360/htmlproofer@master
if: github.event.action != 'closed'
with:
directory: "./_site"
# The directory to scan
arguments: --assume-extension --empty-alt-ignore --alt-ignore "/.*/" --file-ignore "/assets/,/retired/,/retirada/,/retrait/,/posts/" --timeframe "30d" --only-4xx --http-status-ignore 429,403,400 --url-ignore "/http://www.gutenberg.org/*/,/https://github.com/programminghistorian/*/,/https://github.com/orgs/programminghistorian/*/,/\#/,/espanol/,/deprecated/,/collection.britishmuseum.org/,/analytics.hathitrust.org/,/fr.wikipedia.org/wiki/,https://web.archive.org/web/20180831094856/http://www.dlsi.ua.es/~borja/riilua/6.TopicModeling_v02.pdf" --allow-hash-href
arguments: >
--assume-extension
--ignore-missing-alt
--ignore-empty-alt
--file-ignore "/assets/,/retired/,/retirada/,/retrait/,/posts/"
--only-4xx
--http-status-ignore 429,403,400
--url-ignore "/http://www.gutenberg.org/*/,/https://github.com/programminghistorian/*/,/https://github.com/orgs/programminghistorian/*/,/\#/,/espanol/,/deprecated/,/collection.britishmuseum.org/,/analytics.hathitrust.org/,/fr.wikipedia.org/wiki/,https://web.archive.org/web/20180831094856/http://www.dlsi.ua.es/~borja/riilua/6.TopicModeling_v02.pdf"
--allow-hash-href
# The arguments to pass to HTMLProofer
# Finally if we are successful in building, we trigger a rebuild of our search index in the search-index repository
- name: Trigger next workflow
Expand Down
38 changes: 38 additions & 0 deletions .htmlproofer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
assume_extension: true
only_4xx: true
ignore_missing_alt: true
ignore_empty_alt: true
allow_hash_href: true
check_external_hash: false
http_status_ignore:
- 429
- 403
- 400
url_ignore:
- /\/\/www.gutenberg.org\/.*?/
- /https:\/\/github.com\/programminghistorian\/.*?/
- /https:\/\/github.com\/orgs\/programminghistorian\/.*?/
- /\#/
- /espanol/
- /deprecated/
- /collection.britishmuseum.org/
- /analytics.hathitrust.org/
- /fr.wikipedia.org\/wiki/
- /https:\/\/web.archive.org\/web\/20180831094856\/http:\/\/www.dlsi.ua.es\/~borja\/riilua\/6.TopicModeling_v02.pdf/
- https://github.com/programminghistorian/jekyll/commits/gh-pages
- https://github.com/programminghistorian/jekyll/commits/gh-pages/.*
directory_ignore:
- assets
- retired
- retirada
- retrait
- posts
ignore_elements:
- pre
- code
- script
typhoeus:
connecttimeout: 30
timeout: 60
max_concurrency: 2
log_level: debug
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.6.2
3.2.2
Loading