Unverified Commit bcc40ffc authored by Hong Minhee's avatar Hong Minhee
Browse files

Links to stable/unstable docs

parent 96168cff
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -138,6 +138,26 @@ jobs:
    - uses: denoland/setup-deno@v1
      with:
        deno-version: v1.x
    - if: github.event_name == 'push' && github.ref_type == 'tag'
      run: |
        jq \
          --arg url "$UNSTABLE_DOCS_URL" \
          '.nav_links = [{"title":"Go to unstable","url":$url}] + .nav_links' \
          _data.json > _data.json.tmp
        mv _data.json.tmp _data.json
      env:
        UNSTABLE_DOCS_URL: ${{ vars.UNSTABLE_DOCS_URL }}
      working-directory: ${{ github.workspace }}/docs/
    - if: github.event_name != 'push' || github.ref_type != 'tag'
      run: |
        jq \
          --arg url "$STABLE_DOCS_URL" \
          '.nav_links = [{"title":"Go to stable","url":$url}] + .nav_links' \
          _data.json > _data.json.tmp
        mv _data.json.tmp _data.json
      env:
        STABLE_DOCS_URL: ${{ vars.STABLE_DOCS_URL }}
      working-directory: ${{ github.workspace }}/docs/
    - run: |
        set -ex
        jq \
+3 −3
Original line number Diff line number Diff line
@@ -36,9 +36,9 @@ The rough roadmap is to implement the following features out of the box:
If you want to know more about the project, please take a look at the following
resources:

 -  [JSR]
 -  [Manual](https://dahlia.github.io/fedify/manual/)
 -  [API reference](https://jsr.io/@fedify/fedify/doc)
 -  [Manual](https://fedify.dev/manual/)
    ([Unstable](https://unstable.fedify.dev/manual/))
 -  [API reference][JSR]
 -  [Examples](https://github.com/dahlia/fedify/tree/main/examples)

[^1]: You may already know some of the networks in the fediverse, such as
+2 −0
Original line number Diff line number Diff line
@@ -6,11 +6,13 @@ import image from "lume_markdown_plugins/image.ts";
import title from "lume_markdown_plugins/title.ts";
import lumocs from "lumocs/mod.ts";
import externalLinks from "npm:markdown-it-external-links@0.0.6";
import footnote from "npm:markdown-it-footnote@4.0.0";
import callouts from "npm:markdown-it-obsidian-callouts@0.2.3";

const site = lume({}, {
  markdown: {
    plugins: [
      footnote,
      externalLinks,
      callouts,
    ],
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ dd { margin-bottom: var(--typography-spacing-vertical); }
  clear: left;
  margin-top: 1rem;
}
.footnotes .footnotes-list * { font-size: 16px; }
</style>
{% if plausible_domain %}
  <script
+1 −2
Original line number Diff line number Diff line
@@ -35,9 +35,8 @@ If you want to know more about the project, please take a look at the following
resources:

 -  [GitHub](https://github.com/dahlia/fedify)
 -  [JSR](https://jsr.io/@fedify/fedify)
 -  [Manual](./manual.md)
 -  [API reference](https://jsr.io/@fedify/fedify/doc)
 -  [API reference](https://jsr.io/@fedify/fedify)
 -  [Examples](https://github.com/dahlia/fedify/tree/main/examples)

 [^1]: You may already know some of the networks in the fediverse, such as
Loading