Skip to content

scotlaclair/scotlaclair.github.io

scotlaclair.github.io

Repo for Pages and Documents, new sparks

πŸš€ Quick Links

How GitHub Pages Works

This repository uses GitHub Pages to host a static website at https://scotlaclair.github.io/

Two Ways to Use This Repo

Option 1: User/Organization Site (Current Setup)

  • Your repository is named username.github.io (user/org Pages site)
  • GitHub Pages automatically publishes from the root of your default branch (usually main)
  • The index.html in the root becomes your homepage
  • Accessible at: https://scotlaclair.github.io/

Option 2: Regular Repo with Docs Folder

  • For regular project repositories (not username.github.io)
  • You can configure GitHub Pages to publish from:
    • Root directory of a branch
    • /docs folder on a branch
    • A separate gh-pages branch
  • Example: A repo named my-project would be at https://scotlaclair.github.io/my-project/

This Repo Can Be Both!

Your repository is both a regular Git repository AND a GitHub Pages site:

  • βœ… You can store any files (code, documents, assets)
  • βœ… You can use version control (branches, commits, pull requests)
  • βœ… HTML/CSS/JS files are automatically served as web pages
  • βœ… Non-web files (like PDFs, images) can be accessed via their path

Repository Structure

scotlaclair.github.io/
β”œβ”€β”€ index.html          # Homepage (required for root-level Pages site)
β”œβ”€β”€ docs/               # Optional: Organize documents/pages in folders
β”‚   └── example.html    # Accessible at /docs/example.html
β”œβ”€β”€ assets/             # Optional: Images, CSS, JavaScript
β”œβ”€β”€ .nojekyll          # Prevents Jekyll processing (for plain HTML)
└── README.md          # This file (not published to the site)

Recommended Setup Items

βœ… Added:

  • .nojekyll - Tells GitHub Pages not to use Jekyll processing (faster deployment for plain HTML)
  • .gitignore - Ignores common temporary and system files
  • docs/example.html - Example of how to structure additional pages

πŸ“‹ Optional Additions (Templates Provided):

  • βœ… 404.html - Custom error page for broken links (ready to use)
  • βœ… assets/ folder - For images, CSS, and JavaScript files (already created)
  • βœ… CNAME.example - Template for custom domain setup (rename to CNAME and configure)
  • βœ… robots.txt - Template to control search engine indexing (ready to use)
  • βœ… sitemap.xml - Template to help search engines find your pages (update with your pages)

πŸ“– Detailed Guide: See Optional Additions Guide for complete setup instructions.

Quick Start:

  • 404.html - Already active, will show for broken links
  • robots.txt - Allows all search engines by default, customize if needed
  • sitemap.xml - Add your pages and update dates, then reference in robots.txt
  • CNAME.example - Rename to CNAME (no extension) and follow instructions inside for custom domain setup

Publishing Content

  1. Add HTML files to the repository
  2. Commit and push to the main branch
  3. Files are automatically published within a few minutes
  4. Access your site at https://scotlaclair.github.io/

Examples

  • Homepage: https://scotlaclair.github.io/ (index.html)
  • Example page: https://scotlaclair.github.io/docs/example.html
  • Any file: https://scotlaclair.github.io/path/to/file.html

Repository Setup

This repository includes comprehensive configuration for:

  • βœ… Issue Templates - For Sparks, features, bugs, documentation, and the 7 setup areas
  • βœ… Pull Request Template - Standardized PR submissions
  • βœ… Contributing Guide - Guidelines for contributors
  • βœ… Code of Conduct - Community guidelines
  • βœ… Security Policy - Vulnerability reporting process
  • βœ… GitHub Actions - Automated workflows for Pages, labeling, and maintenance
  • βœ… Labels - Comprehensive label system for organization
  • βœ… Wiki Structure - Guide for setting up and organizing the Wiki
  • βœ… Discussion Templates - Templates for community discussions
  • βœ… Knowledge Base - Documentation hub at /docs/

Creating Sub-Issues

To create sub-issues for the repository setup (items 1-7), use the issue templates:

  1. Go to Issues β†’ New Issue
  2. Select the appropriate template (1-7 for setup areas)
  3. Fill out the form and submit

See .github/SETUP_GUIDE.md for detailed instructions and .github/SUB_ISSUE_MANAGEMENT.md for best practices on managing parent and sub-issues.

Community Resources

πŸ“– Documentation & Knowledge Base

πŸ’¬ Discussions & Community

πŸ“‹ Templates Available

  • Issue Templates: Spark, Feature, Bug, Documentation, and 7 setup area templates
  • Discussion Templates: Ideas, Questions, Show & Tell
  • PR Template: Standardized pull request submissions

Contributing

We welcome contributions! Please see:

The Spark Process

πŸ’‘ Sparks are new ideas and concepts to explore. Submit a spark when you have:

  • A new idea to discuss
  • A concept to explore
  • An opportunity to consider

Learn More:

About

Repo for Pages and Documents, new sparks

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •