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

Add Cytomining organization GitHub Pages redirects for main organization link and existing projects #1

Merged
merged 7 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
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
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# used for running pre-commit checks
name: pre-commit checks
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
run_pre_commit_tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: pre-commit/[email protected]
21 changes: 21 additions & 0 deletions .htmllintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"tag-bans": [
"b",
"i"
],
"attr-bans": [
"align",
"background",
"bgcolor",
"border",
"frameborder",
"longdesc",
"marginwidth",
"marginheight",
"scrolling",
"width"
],
"attr-quote-style": false,
"indent-width": false,
"id-class-style": false
}
27 changes: 27 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: detect-private-key
# checking spelling
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
hooks:
- id: codespell
# checking markdown formatting
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
rev: v1.1.2
hooks:
- id: htmllint
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2023, cytomining
Copyright (c) 2023, Cytomining

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# cytomining.github.io
Cytomining organization GitHub Pages configuration.
# Cytomining organization GitHub Pages configuration

This repo includes content which helps create links via GitHub Pages related to the Cytomining Organization.

## Development

HTML content may be placed within the `/docs` folder which is then rendered on merge to `main`.
Work here is adapted from [the documentation found in this Gist](https://gist.github.com/domenic/1f286d415559b56d725bee51a62c24a7).
d33bs marked this conversation as resolved.
Show resolved Hide resolved
Empty file added docs/.nojekyll
Empty file.
13 changes: 13 additions & 0 deletions docs/cytosnake/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL=https://cytosnake.readthedocs.io/">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://cytosnake.readthedocs.io/">
<title>Redirecting to https://cytosnake.readthedocs.io/</title>
</head>
<body>
Redirecting to <a href="https://cytosnake.readthedocs.io/">https://cytosnake.readthedocs.io/</a>
</body>
</html>
13 changes: 13 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL=https://github.com/cytomining">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://github.com/cytomining">
<title>Redirecting to https://github.com/cytomining</title>
</head>
<body>
Redirecting to <a href="https://github.com/cytomining">https://github.com/cytomining</a>
</body>
</html>
13 changes: 13 additions & 0 deletions docs/pycytominer/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; URL=https://pycytominer.readthedocs.io/">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://pycytominer.readthedocs.io/">
<title>Redirecting to https://pycytominer.readthedocs.io/</title>
</head>
<body>
Redirecting to <a href="https://pycytominer.readthedocs.io/">https://pycytominer.readthedocs.io/</a>
</body>
</html>