-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3325 from Hannah-Sten/docs
Writerside documentation
- Loading branch information
Showing
130 changed files
with
7,091 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
name: Build docs | ||
|
||
on: | ||
push: | ||
branches: ["master", "docs"] | ||
workflow_dispatch: | ||
|
||
# Gives the workflow permissions to clone the repo and create a page deployment | ||
permissions: | ||
id-token: write | ||
pages: write | ||
|
||
env: | ||
PRODUCT: Writerside/texify-docs | ||
DOC_ARTIFACT: webHelpTEXIFY-DOCS2-all.zip | ||
ALGOLIA_ARTIFACT: algolia-indexes-TEXIFY-DOCS.zip | ||
ALGOLIA_APP_NAME: D5M21MXSWC | ||
ALGOLIA_INDEX_NAME: TeXiFy-IDEA | ||
ALGOLIA_KEY: ${{ secrets.ALGOLIA_KEY }} | ||
CONFIG_JSON_PRODUCT: texify-docs | ||
CONFIG_JSON_VERSION: master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Build Writerside docs using Docker | ||
uses: JetBrains/writerside-github-action@v3 | ||
- name: Upload documentation | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: docs | ||
path: | | ||
artifacts/${{ env.DOC_ARTIFACT }} | ||
artifacts/report.json | ||
retention-days: 7 | ||
- name: Upload algolia-indexes | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: algolia-indexes | ||
path: artifacts/${{ env.ALGOLIA_ARTIFACT }} | ||
retention-days: 7 | ||
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v1 | ||
with: | ||
name: docs | ||
path: artifacts | ||
|
||
- name: Test documentation | ||
uses: JetBrains/writerside-checker-action@v1 | ||
with: | ||
instance: ${{ env.INSTANCE }} | ||
|
||
|
||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
# Requires the build results | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: docs | ||
- name: Unzip artifact | ||
uses: montudor/action-zip@v1 | ||
with: | ||
args: unzip -qq ${{ env.DOC_ARTIFACT }} -d dir | ||
- name: Setup Pages | ||
uses: actions/configure-pages@v2 | ||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v1 | ||
with: | ||
path: dir | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v1 | ||
|
||
publish-indexes: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
container: | ||
image: registry.jetbrains.team/p/writerside/builder/algolia-publisher:2.0.32-2 | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: algolia-indexes | ||
- uses: montudor/action-zip@v1 | ||
with: | ||
args: unzip -qq ${{ env.ALGOLIA_ARTIFACT }} -d algolia-indexes | ||
- run: | | ||
env "algolia-key=${{env.ALGOLIA_KEY}}" java -jar /opt/builder/help-publication-agent.jar \ | ||
update-index \ | ||
--application-name ${{env.ALGOLIA_APP_NAME}} \ | ||
--index-name ${{env.ALGOLIA_INDEX_NAME}} \ | ||
--product ${{env.CONFIG_JSON_PRODUCT}} \ | ||
--version ${{env.CONFIG_JSON_VERSION}} \ | ||
--index-directory algolia-indexes/ \ | ||
2>&1 | tee algolia-update-index-log.txt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- [ ] Create branch bx.x.x | ||
- [ ] Run 'Usage of IntelliJ API not available in older IDEs' and 'Stateful extension' inspection (ctrl+alt+shift+i) | ||
- [ ] Increase stub version in LatexParserDefinition | ||
- [ ] Re-include Sumatra dlls in build.gradle.kts to enable forward search | ||
- [ ] Run ctan.py | ||
|
||
- [ ] Add welcome text to Changelog.md | ||
- [ ] Update welcome text | ||
- [ ] Update version in gradle.properties | ||
- [ ] run patchChangelog (ideally this would be done for the publishPlugin task, but somehow that produces an 'Unreleased' title instead of 0.x.x) | ||
- [ ] Delete alpha versions from changelog | ||
- [ ] runIDE and check the changelog is formatted correctly | ||
- [ ] Run publishPlugin | ||
- [ ] Merge PR | ||
- [ ] buildPlugin and release on GitHub, tag version: v0.x.x and release title: Beta x.x.x | ||
- [ ] Close the milestone | ||
- [ ] Update MiKTeX Docker image | ||
- [ ] Check performance: indexing texlive full should take around one minute, inspections on a 10k line file should take around 10 seconds, pressing enter in such a file should react within a second. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE categories | ||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/categories.dtd"> | ||
<categories> | ||
<category id="wrs" name="Writerside documentation" order="1"/> | ||
</categories> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<buildprofiles xsi:noNamespaceSchemaLocation="https://helpserver.labs.jb.gg/help/schemas/mvp/build-profiles.xsd" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<variables> | ||
<algolia-id>D5M21MXSWC</algolia-id> | ||
<algolia-index>TeXiFy-IDEA</algolia-index> | ||
<algolia-api-key>24051865ac9a05c6332f3e3c04468ea5</algolia-api-key> | ||
<config-search-scopes-provider>https://www.jetbrains.com/</config-search-scopes-provider> | ||
|
||
<enable-browser-edits>true</enable-browser-edits> | ||
<browser-edits-url>https://github.com/Hannah-Sten/TeXiFy-IDEA/edit/master/Writerside/</browser-edits-url> | ||
</variables> | ||
<build-profile instance="texify-docs"/> | ||
</buildprofiles> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<platforms> | ||
<platform id="primary"> | ||
<use-keymaps> | ||
primary_Windows_Linux | ||
</use-keymaps> | ||
<use-keymaps> | ||
primary_macOS | ||
</use-keymaps> | ||
<src>keymap.xml</src> | ||
</platform> | ||
</platforms> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.6 KB
Writerside/images/editing/code-completion/required-parameters-autocomplete.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+19.9 KB
Writerside/images/editing/code-completion/required-parameters-environments.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+16.6 KB
Writerside/images/editing/code-completion/xparse-autocomplete_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+25.5 KB
Writerside/images/editing/code-formatting/table-formatter-multiline.gif
Oops, something went wrong.
Oops, something went wrong.
Binary file added
BIN
+32.9 KB
Writerside/images/editing/code-navigation/externaldocument-usages.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Keymap id="texify-docs"> | ||
<Action id="$Reformat"> | ||
<Shortcut layout="primary_Windows_Linux">Ctrl+Alt+L</Shortcut> | ||
<Shortcut layout="primary_macOS">Meta+Alt+L</Shortcut> | ||
</Action> | ||
<Action id="$Commit"> | ||
<Shortcut layout="primary_Windows_Linux">Ctrl+K</Shortcut> | ||
<Shortcut layout="primary_macOS">Meta+K</Shortcut> | ||
</Action> | ||
<Action id="$Pull"> | ||
<Shortcut layout="primary_Windows_Linux">Ctrl+T</Shortcut> | ||
<Shortcut layout="primary_macOS">Meta+T</Shortcut> | ||
</Action> | ||
</Keymap> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE ihp SYSTEM "https://resources.jetbrains.com/writerside/1.0/ihp.dtd"> | ||
|
||
<ihp version="2.0"> | ||
<topics dir="topics"/> | ||
<images dir="images" web-path="TeXiFy-IDEA"/> | ||
<instance src="texify-docs.tree" web-path="/texify-docs/" /> | ||
</ihp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE instance-profile | ||
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd"> | ||
|
||
<instance-profile id="texify-docs" | ||
name="TeXiFy-IDEA documentation" | ||
start-page="Welcome.topic"> | ||
|
||
<toc-element topic="Welcome.topic"/> | ||
<toc-element topic="Quick-start-guide.md"/> | ||
<toc-element topic="Installation-guide.md"/> | ||
<toc-element topic="Installing-pre-release-builds.md"/> | ||
<toc-element topic="Project-configuration.md"/> | ||
<toc-element topic="Editing-a-LaTeX-file.md"> | ||
<toc-element topic="Code-completion.md"/> | ||
<toc-element topic="Code-formatting.md"/> | ||
<toc-element topic="Code-navigation.md"/> | ||
</toc-element> | ||
<toc-element topic="Running-a-LaTeX-file.md"> | ||
<toc-element topic="Run-configuration-settings.md"/> | ||
<toc-element topic="PDF-viewers.md"/> | ||
<toc-element topic="External-tools.md"/> | ||
</toc-element> | ||
<toc-element topic="BibTeX.md"/> | ||
<toc-element toc-title="Settings"> | ||
<toc-element topic="TeXiFy-settings.md"/> | ||
<toc-element topic="Editor.md"> | ||
<toc-element topic="General.md"/> | ||
<toc-element topic="Code-Style.md"/> | ||
</toc-element> | ||
</toc-element> | ||
<toc-element topic="Tools.md"> | ||
<toc-element topic="Tool-Windows.md"/> | ||
</toc-element> | ||
<toc-element topic="Inspections.md"> | ||
<toc-element topic="BibTeX-Inspections.md"/> | ||
<toc-element topic="Typesetting-issues.md"/> | ||
<toc-element topic="Spacing.md"/> | ||
<toc-element topic="Code-style-issues.md"/> | ||
<toc-element topic="Probable-bugs.md"/> | ||
<toc-element topic="Packages.md"/> | ||
<toc-element topic="Redundant-code.md"/> | ||
<toc-element topic="Discouraged-or-obsolete-code.md"/> | ||
<toc-element topic="Intentions.md"/> | ||
</toc-element> | ||
<toc-element toc-title="Reference"> | ||
<toc-element topic="Errors-and-warnings.md"/> | ||
</toc-element> | ||
<toc-element topic="Contributing-to-the-documentation.md"/> | ||
<toc-element topic="Contributing-to-the-source-code.md"/> | ||
<toc-element topic="Troubleshooting.md"/> | ||
</instance-profile> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# BibTeX Inspections | ||
|
||
## Duplicate ID | ||
|
||
You cannot have two bibtex entries with the same id. | ||
|
||
## Missing bibliography style | ||
|
||
When you include a bibliography, you should also define a bibliography style, for example `\bibliographystyle{plain}`. | ||
|
||
## Duplicate bibliography style commands | ||
|
||
You should only have one `\bibliographystyle` command. | ||
|
||
## Same bibliography is included multiple times | ||
|
||
It is not useful to include the same bibliography in the same document multiple times. | ||
|
||
## Bib entry is not cited | ||
|
||
_Since b0.7.3_ | ||
|
||
This inspection detects entries in bibliographies that are not cited in the main document. | ||
It greys out the identifier of the entry, and provides a quick fix to safe delete this entry. | ||
When using the safe deletion, TeXiFy will also search for cites that appear in comments, and you will be warned if any are found, see Figure 1. | ||
|
||
**View of the safe delete that found a usage in a comment.** | ||
|
||
![bibtex-safe-delete-entry](bibtex-safe-delete-entry.png) |
Oops, something went wrong.