Git Product home page Git Product logo

home's People

Contributors

coreweeks avatar fevrin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

coreweeks

home's Issues

Add CODEOWNERS file

Background

Per the title, we need to add a CODEOWNERS file in the root of the repository (which is compatible with both GitHub and GitLab).

Definition of Done

  • CODEOWNERS file exists in the root of the repo and properly pings the code owners when files are changed

Confirm commitlint is working properly

Background

Commitlint may not be fully working at the moment; confirm it's actually reviewing commit messages and stopping bad ones from being used.

Definition of Done

  • commitlint is for sure working as expected

Set up test to confirm repository settings are as expected

Background

We need to set up CI to check the repo's settings to confirm they're as expected or warn the user to change them. With gh installed, the following info can be used to determine the repository's settings:

Some settings to check:

  • Automatically delete head branches
  • Always suggest updating pull request branches
  • Require status checks to pass before merging
  • Require branches to be up to date before merging
  • Allow repository, and select non-repository, actions and reusable workflows
  • Allow GitHub Actions to create and approve pull requests
  • workflow permissions

Definition of Done

  • GitHub Action set up to check for certain repository settings

Fix README table of contents generator title linking

Background

The table of contents generator does a decent job until it handles a Markdown file with duplicate titles. In that case, the titles' links all point to the same reference, whereas the links for first duplicate title on should have -1, -2, etc. appended to it to properly reference the correct title.

For instance, right now a Markdown file like this:

# Main title

${TOC}

## Subtitle

## Subtitle 2

### Subtitle

### Subtitle 2

#### Subtitle 3

#### Subtitle 2

would get a table of contents like this:

- [Subtitle](#subtitle)
- [Subtitle 2](#subtitle-2)
  - [Subtitle](#subtitle)
  - [Subtitle 2](#subtitle-2)
    - [Subtitle 3](#subtitle-3)
    - [Subtitle 2](#subtitle-2)

instead of this:

- [Subtitle](#subtitle)
- [Subtitle 2](#subtitle-2)
  - [Subtitle](#subtitle-1)
  - [Subtitle 2](#subtitle-2-1)
    - [Subtitle 3](#subtitle-3)
    - [Subtitle 2](#subtitle-2-2)

Definition of Done

  • table of contents generator correctly creates links for duplicate titles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.