Compare commits
	
		
			No commits in common. "caeb0cc6eec40c9bc42da218f64a1951371a0974" and "015493950a3c84cbf692446253c79d82eae78881" have entirely different histories.
		
	
	
		
			caeb0cc6ee
			...
			015493950a
		
	
		
					 7 changed files with 7 additions and 119 deletions
				
			
		| 
						 | 
				
			
			@ -15,8 +15,6 @@ jobs:
 | 
			
		|||
          fetch-depth: 0
 | 
			
		||||
      - name: Install latest mdbook
 | 
			
		||||
        run: |
 | 
			
		||||
          apt-get update -qq
 | 
			
		||||
          apt-get install -qq jq
 | 
			
		||||
          tag="$(curl 'https://api.github.com/repos/rust-lang/mdbook/releases/latest' | jq -r '.tag_name')"
 | 
			
		||||
          url="https://github.com/rust-lang/mdbook/releases/download/${tag}/mdbook-${tag}-x86_64-unknown-linux-gnu.tar.gz"
 | 
			
		||||
          mkdir mdbook
 | 
			
		||||
| 
						 | 
				
			
			@ -28,19 +26,11 @@ jobs:
 | 
			
		|||
      - name: Push to rendered branch
 | 
			
		||||
        run: |
 | 
			
		||||
          hash="$(git log -n 1 --format=reference)"
 | 
			
		||||
          git branch -D rendered &> /dev/null || true
 | 
			
		||||
          git worktree add --detach --no-checkout dist
 | 
			
		||||
          cd dist
 | 
			
		||||
          git switch --orphan=rendered
 | 
			
		||||
          cd ..
 | 
			
		||||
          git branch -D rendered || true
 | 
			
		||||
          git worktree add -b rendered --orphan dist
 | 
			
		||||
          mv dist/.git book/.git
 | 
			
		||||
          rmdir dist
 | 
			
		||||
          mv book/ dist/
 | 
			
		||||
          cd dist
 | 
			
		||||
          git add .
 | 
			
		||||
          git config user.name "CI"
 | 
			
		||||
          git config user.email "ci@noreply.libre-chip.org"
 | 
			
		||||
          git commit -n -m "rendered version of $hash"
 | 
			
		||||
          [[ "${{ github.server_url }}" =~ ^"https://"(.*)$ ]]
 | 
			
		||||
          git remote set-url origin "https://x-access-token:${{ github.token }}@${BASH_REMATCH[1]}/${{ github.repository }}"
 | 
			
		||||
          git push -f origin rendered
 | 
			
		||||
| 
						 | 
				
			
			@ -18,7 +18,3 @@ git-repository-url = "https://git.libre-chip.org/libre-chip/website"
 | 
			
		|||
git-repository-icon = "fa-git"
 | 
			
		||||
# edit-url-template = "https://git.libre-chip.org/libre-chip/website/FIXME/{path}"
 | 
			
		||||
input-404 = "404.md"
 | 
			
		||||
additional-css = ["src/custom.css"]
 | 
			
		||||
 | 
			
		||||
[output.html.print]
 | 
			
		||||
enable = false
 | 
			
		||||
| 
						 | 
				
			
			@ -1,3 +0,0 @@
 | 
			
		|||
This project adopts the [Rust Code of conduct](https://www.rust-lang.org/policies/code-of-conduct).
 | 
			
		||||
 | 
			
		||||
Because we are just starting, we don't have a Moderation Team yet.
 | 
			
		||||
| 
						 | 
				
			
			@ -2,13 +2,7 @@
 | 
			
		|||
 | 
			
		||||
Libre-Chip is a project for creating [Free/Libre](https://en.wikipedia.org/wiki/Free_software) computer chips, such as CPUs/GPUs and their supporting software.
 | 
			
		||||
 | 
			
		||||
More content is coming soon!
 | 
			
		||||
We're just starting and our website doesn't have a whole lot on it yet...
 | 
			
		||||
 | 
			
		||||
* [Subscribe for Announcements via E-Mail](subscription/index.md)[^subscribe]
 | 
			
		||||
* Join us on [Libre-Chip's Git](https://git.libre-chip.org/)
 | 
			
		||||
* Chat with us at [#libre-chip:matrix.org](https://matrix.to/#/#libre-chip:matrix.org) or at #libre-chip on [OFTC IRC](https://www.oftc.net/)
 | 
			
		||||
* If you're interested in supporting us, [subscribe](subscription/index.md) and we'll announce when we're ready!
 | 
			
		||||
 | 
			
		||||
* We have a [Code of Conduct](Conduct.md)
 | 
			
		||||
 | 
			
		||||
[^subscribe]: Announcement Emails are coming soon, though you can sign up now!
 | 
			
		||||
* [Libre-Chip's Git](https://git.libre-chip.org/)
 | 
			
		||||
* Chat at [#libre-chip:matrix.org](https://matrix.to/#/#libre-chip:matrix.org) or at #libre-chip on [OFTC IRC](https://www.oftc.net/)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,4 @@
 | 
			
		|||
* [Libre-Chip](README.md)
 | 
			
		||||
* [Subscribe for Announcements via E-Mail](subscription/index.md)
 | 
			
		||||
* [Conduct](Conduct.md)
 | 
			
		||||
* [License](LICENSE.md)
 | 
			
		||||
    * [GPL 3.0](gpl-3.0.md)
 | 
			
		||||
    * [LGPL 3.0](lgpl-3.0.md)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,49 +0,0 @@
 | 
			
		|||
.subscribe_list_buttons {
 | 
			
		||||
    gap: .5rem !important;
 | 
			
		||||
    flex-wrap: wrap !important;
 | 
			
		||||
    flex-direction: column !important;
 | 
			
		||||
    align-items: center !important;
 | 
			
		||||
    display: flex !important;
 | 
			
		||||
    padding: 1rem !important;
 | 
			
		||||
    border: solid 1px !important;
 | 
			
		||||
    border-radius: 0.5rem !important;
 | 
			
		||||
    border-color: var(--theme-popup-border) !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.subscribe_list_buttons a {
 | 
			
		||||
    color: var(--fg) !important;
 | 
			
		||||
    cursor: pointer !important;
 | 
			
		||||
    text-align: center !important;
 | 
			
		||||
    min-height: 1em !important;
 | 
			
		||||
    margin: 0 0.25em 0 0 !important;
 | 
			
		||||
    padding: 0.75em 1.5em !important;
 | 
			
		||||
    text-decoration: none !important;
 | 
			
		||||
    background: var(--table-header-bg) !important;
 | 
			
		||||
    border: solid 1px !important;
 | 
			
		||||
    border-radius: 0.5rem !important;
 | 
			
		||||
    border-color: var(--theme-popup-border) !important;
 | 
			
		||||
    width: 50%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.subscribe_list_buttons a.subscribe_list_delete_account {
 | 
			
		||||
    color: var(--fg) !important;
 | 
			
		||||
    cursor: pointer !important;
 | 
			
		||||
    text-align: center !important;
 | 
			
		||||
    min-height: 1em !important;
 | 
			
		||||
    margin: 0 0.25em 0 0 !important;
 | 
			
		||||
    padding: 0.75em 1.5em !important;
 | 
			
		||||
    text-decoration: none !important;
 | 
			
		||||
    background: var(--table-header-bg) !important;
 | 
			
		||||
    border: solid 3px !important;
 | 
			
		||||
    border-radius: 0.5rem !important;
 | 
			
		||||
    border-color: var(--warning-border) !important;
 | 
			
		||||
    width: 50%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.subscribe_list_buttons a:active {
 | 
			
		||||
    background: var(--theme-hover) !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.subscribe_list_buttons a:hover {
 | 
			
		||||
    background: var(--theme-hover) !important;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,38 +0,0 @@
 | 
			
		|||
# Subscribe for Announcements via E-Mail
 | 
			
		||||
 | 
			
		||||
<!-- this page is handled by https://git.libre-chip.org/libre-chip/subscribe-list -->
 | 
			
		||||
<script><!--
 | 
			
		||||
// hide sidebar
 | 
			
		||||
var body = document.querySelector('body');
 | 
			
		||||
var sidebar_toggle = document.getElementById("sidebar-toggle-anchor");
 | 
			
		||||
sidebar_toggle.checked = false;
 | 
			
		||||
body.classList.remove('sidebar-visible');
 | 
			
		||||
body.classList.add('sidebar-hidden');
 | 
			
		||||
//--></script>
 | 
			
		||||
 | 
			
		||||
<div class="subscribe_list_template_section" id="SubscriptionLoggedOut"/>
 | 
			
		||||
 | 
			
		||||
As an anti-spam measure, you need to register using a 3rd-party account:
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
<div class="subscribe_list_buttons">
 | 
			
		||||
{{- for provider in providers -}}
 | 
			
		||||
<a href="{provider.url}">Sign in with {provider.pretty_name}</a>
 | 
			
		||||
{{- endfor -}}
 | 
			
		||||
</div>
 | 
			
		||||
<div class="subscribe_list_template_section"/>
 | 
			
		||||
 | 
			
		||||
<div class="subscribe_list_template_section" id="SubscriptionLoggedIn"/>
 | 
			
		||||
 | 
			
		||||
<h2>Signed in as {email}</h2>
 | 
			
		||||
 | 
			
		||||
You are subscribed.
 | 
			
		||||
 | 
			
		||||
<br/>
 | 
			
		||||
 | 
			
		||||
<div class="subscribe_list_buttons">
 | 
			
		||||
<a href="/subscription/logout">Logout</a>
 | 
			
		||||
<a href="/subscription/unsubscribe" class="subscribe_list_delete_account"><b>Unsubscribe and Delete Account</b></a>
 | 
			
		||||
</div>
 | 
			
		||||
<div class="subscribe_list_template_section"/>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue