=== ROOTS-index ===
Contributors: 14chan
Tags: cms, indexes, navigation, table of contents, toc
Requires at least: 6.7
Tested up to: 6.8
Stable tag: 1.0.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 8.2


== Description ==

*このプラグインはグーテンベルグの見出しブロックから目次を作成します
*管理画面の設定に「ROOTS-index」が追加されます
*ショートコード[roots_index]を埋め込むことで目次を表示できます
*アコーディオン機能を実装するための最小限のCSSとJavaScriptを使用することができます
*アコーディオンメニューを最初から開いた状態にすることができます
*目次ラベルの文字列を変更することができます
*目次の色を変更することが出来ます
*目次のborderの角丸サイズを変更することができます

*This plugin creates a table of contents from Gutenberg heading blocks
*"ROOTS-index" will be added to the settings of the admin screen
*You can display the table of contents by embedding the shortcode [roots_index]
*You can apply your own theme
*You can use minimal CSS and JavaScript to implement the accordion function
*You can set the accordion menu to be open from the beginning
*You can change the string of the table of contents label
*You can change the color of the table of contents
*You can change the rounded corner size of the border of the table of contents


== Short Description ==

*このプラグインはグーテンベルグの見出しブロックから目次を作成します
*管理画面の設定に「ROOTS-index」が追加されます
*ショートコード[roots_index]を埋め込むことで目次を表示できます

*This plugin creates a table of contents from Gutenberg heading blocks
*"ROOTS-index" will be added to the settings of the admin screen
*You can display the table of contents by embedding the shortcode [roots_index]


== Installation ==

1. WP 管理パネルから、「プラグイン」->「新規追加」をクリックします。
2. ブラウザの入力ボックスに「ROOTS-index」と入力します。
3. 「ROOTS-index」プラグインを選択し、「インストール」をクリックします。
4. プラグインを有効化します。


1. From the WP admin panel, click “Plugins” -> “Add new”.
2. In the browser input box, type “ROOTS-index”.
3. Select the “ROOTS-index” plugin and click “Install”.
4. Activate the plugin.


== Frequently asked questions ==

= プラグインアセットをローカルでビルドするにはどうすればよいですか？ =

このプラグインは、最終的な JavaScript および CSS アセットをビルドするために webpack と npm を使用します。

ソースファイルは `src/` ディレクトリにあります。

コンパイルされたアセットは `assets/js/` と `assets/css/` にあります。

プラグインアセットをローカルでビルドするには：

1. 依存関係をインストールします：
`npm i'

2. アセットをウォッチします：
`npm run watch'

 これは編集されたファイルを保存すると自動でコンパイルされます

または、GitHub でソースコードとビルド手順を参照することもできます：
https://github.com/14-chan/ROOTS-index


= How do I build the plugin assets locally? =

This plugin uses webpack and npm to build the final JavaScript and CSS assets.

Source files are located in the `src/` directory.  
Compiled assets are located in `assets/js/` and `assets/css/`.

To build the plugin assets locally:

1. Install dependencies:  
   `npm i`

2. Watch assets:  
   `npm run watch`

 This will be automatically compiled when you save the edited file.

Alternatively, you can find the source code and build instructions on GitHub:  
https://github.com/14-chan/ROOTS-index


== Screenshots ==

1. plugin location.
2. option  checkbox.
3. option  color number.
4. option  save changes . back btn.
5. add shortcode


== Upgrade notice ==


== Arbitrary section 1 ==