Skip to content

Commit

Permalink
RSS配信ができるようにする (#1187)
Browse files Browse the repository at this point in the history
* Azure AD B2C サンプルのReadMeの誤字修正とcspellの除外設定追加 (#1051)

* cspellの除外設定を追加。

* 誤字修正。

---------

Co-authored-by: Fumika Koyama <[email protected]>

* アプリケーションアーキテクチャ概要編からコンソールアプリの要件別サンプルにリンクを張る (#1057)

* リンクを追加

* 冗長な記載を修正

* documentsのreadmeを最新化する (#1062)

* フォルダー構造を修正。

* 「テスト方針」と「画像ファイル」のフォルダー構成を修正。

---------

Co-authored-by: Fumika Koyama <[email protected]>

* RSSプラグインの設定追加。

* フッターにRSSのリンクを追加。

* RSSプラグイン用のパッケージインストールタスクを追加。

* RSSのアイコンを追加。

---------

Co-authored-by: Fumika Koyama <[email protected]>
Co-authored-by: kentah <[email protected]>
  • Loading branch information
3 people authored May 2, 2024
1 parent 7ad8f77 commit d01bf2f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/build-documents/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ runs:
run: |
python -m pip install "mkdocs-material[imaging]"
sudo apt-get install pngquant
- name: RSS プラグイン用のパッケージインストール
shell: bash
run: |
pip install mkdocs-rss-plugin
- id: setup-version
name: ドキュメントのバージョン設定
Expand Down
6 changes: 5 additions & 1 deletion documents/contents/stylesheets/overrides.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
.md-grid {
max-width: initial;
}
}

#va-icon {
vertical-align: -2px;
}
3 changes: 3 additions & 0 deletions documents/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ extra:
terms: about-maris/terms/
trademarks: about-maris/trademarks/
credits: about-maris/credits/
rss_created: feed_rss_created.xml
rss_updated: feed_rss_updated.xml
version: !ENV [VERSION, "Local Version"]

extra_css:
Expand All @@ -184,3 +186,4 @@ plugins:
enabled: !ENV [BUILD_DOCUMENTS, false]
cards_layout_options:
font_family: Noto Sans JP
- rss
14 changes: 14 additions & 0 deletions documents/overrides/partials/copyright.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,19 @@
<a href="{{ config.extra.footer_urls.trademarks|url }}">商標</a>
<span>|</span>
<a href="{{ config.extra.footer_urls.credits|url }}">クレジット表記</a>
<span>|</span>
<a href="{{ config.extra.footer_urls.rss_created|url }}">
<span class="twemoji" id="va-icon">
{% include ".icons/octicons/rss-16.svg" %}
</span>
新着情報
</a>
<span>|</span>
<a href="{{ config.extra.footer_urls.rss_updated|url }}">
<span class="twemoji" id="va-icon">
{% include ".icons/octicons/rss-16.svg" %}
</span>
更新情報
</a>
</div>
</div>

0 comments on commit d01bf2f

Please sign in to comment.