Skip to content

Commit cf458eb

Browse files
committed
build: versioning docs run configuration
1 parent 7c2e3f1 commit cf458eb

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

.run/docs.run.xml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="docs" type="ShConfigurationType">
3+
<option name="SCRIPT_TEXT" value="bundle install &amp;&amp; bundle exec jekyll serve --config _config.yml,_config_local.yml --open-url http://127.0.0.1:4000/spectrum/" />
4+
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
5+
<option name="SCRIPT_PATH" value="" />
6+
<option name="SCRIPT_OPTIONS" value="" />
7+
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
8+
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/docs" />
9+
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
10+
<option name="INTERPRETER_PATH" value="/bin/zsh" />
11+
<option name="INTERPRETER_OPTIONS" value="" />
12+
<option name="EXECUTE_IN_TERMINAL" value="false" />
13+
<option name="EXECUTE_SCRIPT_FILE" value="false" />
14+
<envs />
15+
<method v="2" />
16+
</configuration>
17+
</component>

DEV.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -156,5 +156,7 @@ To be able to run it locally so to make and review your changes before pushing t
156156

157157
1. Setup your local environment as explained
158158
in [Testing your GitHub Pages site locally with Jekyll](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll)
159-
2. Run Jekyll under the `docs` folder with `cd docs && bundle exec jekyll serve --config _config.yml,_config_local.yml`
160-
3. Browse the docs at http://127.0.0.1:4000/spectrum/
159+
2. Run Jekyll under the `docs` folder with `cd docs && bundle install && bundle exec jekyll serve --config _config.yml,_config_local.yml --open-url http://127.0.0.1:4000/spectrum/`
160+
161+
> 💡 **Tip**<br/>
162+
> You can leverage the [docs](.run/docs.run.xml) run configuration, which is automatically loaded in IntelliJ

0 commit comments

Comments
 (0)