docs

git clone https://github.com/notamitgamer/docs.git
· rebuilt hourlyOpen on GitHub
root / git-mirror / customization.mdx

customization.mdx (1064B)


      1 ---
      2 title: "Customization"
      3 ---
      4 
      5 import Copyright from "/snippets/copyright.mdx";
      6 
      7 ## Filter repositories
      8 
      9 Open `build.sh` and find the `gh repo list` command. The `select` statement controls which repos are excluded — by default it skips `git-mirror`, `register`, and `osma`:
     10 
     11 ```bash
     12 REPOS_JSON=$(gh repo list "$USERNAME" --visibility=public --limit 100 --json name,description -q '.[] | select(.name != "git-mirror" and .name != "register" and .name != "osma")')
     13 ```
     14 
     15 Edit the `select` conditions to hide forks or other specific project names.
     16 
     17 ## Styling & assets
     18 
     19 Replace or edit the files inside `assets/`:
     20 
     21 - `style.css`
     22 - `logo.png`
     23 - `favicon.png`
     24 
     25 These get copied into the site root and into every generated repo subfolder during the build.
     26 
     27 ## Custom domain
     28 
     29 If you're using a custom domain, create a file named `CNAME` in the repository root containing your domain name. The build script automatically copies it to the site output and uses it to build `sitemap.xml` URLs.
     30 
     31 Continue to [How the Build Works](/git-mirror/build-process).
     32 
     33 <Copyright />