Skip to content

Commit e4b5084

Browse files
committed
Improve and reorganize structure
1 parent dbc9cb4 commit e4b5084

20 files changed

+1942
-1896
lines changed

Diff for: Writerside/cfg/buildprofiles.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<sitemap priority="0.35" change-frequency="monthly"/>
55

66
<variables>
7-
<primary-color>#2e44b2</primary-color>
8-
<link-color>#1f55be</link-color>
7+
<primary-color>#585c85</primary-color>
8+
<link-color>#5975aa</link-color>
99
<color-preset>contrast</color-preset>
1010
<custom-favicons>logo.svg</custom-favicons>
1111
<header-logo>logo.svg</header-logo>

Diff for: Writerside/labels.list

+16-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,20 @@
22
<!DOCTYPE labels SYSTEM "https://resources.jetbrains.com/writerside/1.0/labels-list.dtd">
33
<labels xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xsi:noNamespaceSchemaLocation="https://resources.jetbrains.com/writerside/1.0/labels.xsd">
5-
<primary-label id="component" name="Component" short-name="C" color="purple">
5+
<primary-label href="https://packagist.org/packages/type-lang/parser"
6+
id="parser-component" name="type-lang/parser" short-name="c" color="purple">
67
The implementation of the functionality available for installation
8+
of "type-lang/parser" component
9+
</primary-label>
10+
<primary-label href="https://packagist.org/packages/type-lang/printer"
11+
id="printer-component" name="type-lang/printer" short-name="c" color="purple">
12+
The implementation of the functionality available for installation
13+
of "type-lang/printer" component
14+
</primary-label>
15+
<primary-label href="https://packagist.org/packages/type-lang/reader"
16+
id="reader-component" name="type-lang/reader" short-name="c" color="purple">
17+
The implementation of the functionality available for installation
18+
of "type-lang/reader" component
719
</primary-label>
820

921
<secondary-label id="psalm" name="Psalm" color="blue">
@@ -21,7 +33,7 @@
2133

2234
<secondary-label id="wip" name="WIP" color="red">Work in progress</secondary-label>
2335
<secondary-label id="beta" name="β" color="tangerine">Beta</secondary-label>
24-
<secondary-label id="tl1.1" name="TypeLang 1.1" color="strawberry">Since type-lang/parser v1.1</secondary-label>
25-
<secondary-label id="tl1.2" name="TypeLang 1.2" color="strawberry">Since type-lang/parser v1.2</secondary-label>
26-
<secondary-label id="r1.1" name="Reader Component 1.1" color="strawberry">Since type-lang/reader v1.1</secondary-label>
36+
<secondary-label id="tl1.1" name="TypeLang Parser 1.1+" color="strawberry">Supported since type-lang/parser v1.1</secondary-label>
37+
<secondary-label id="tl1.2" name="TypeLang Parser 1.2+" color="strawberry">Supported since type-lang/parser v1.2</secondary-label>
38+
<secondary-label id="r1.1" name="Reader 1.1+" color="strawberry">Supported since type-lang/reader v1.1</secondary-label>
2739
</labels>

Diff for: Writerside/tl.tree

+53-14
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,68 @@
33
SYSTEM "https://resources.jetbrains.com/writerside/1.0/product-profile.dtd">
44

55
<instance-profile id="tl" name="PHP TypeLang" is-library="true" start-page="overview.topic">
6-
<toc-element topic="overview.topic">
7-
<toc-element topic="basic-types.md"/>
8-
<toc-element topic="logical-types.md"/>
9-
<toc-element topic="generic-types.md" toc-title="Generics"/>
10-
<toc-element topic="literal-types.md" toc-title="Literals"/>
11-
<toc-element topic="const-types.md" toc-title="Constants"/>
12-
<toc-element topic="shape-types.md" toc-title="Shapes"/>
13-
<toc-element topic="callable-types.md" toc-title="Callables"/>
14-
<toc-element topic="conditional-types.md" toc-title="Conditions"/>
15-
<toc-element topic="comparison.md"/>
6+
<toc-element topic="overview.topic" />
7+
8+
<toc-element toc-title="Language">
9+
<toc-element topic="basic-types.md"
10+
toc-title="Basic types"/>
11+
<toc-element topic="logical-types.md"
12+
toc-title="Logical types"/>
13+
<toc-element topic="generic-types.md"
14+
toc-title="Template types (Generics)"/>
15+
<toc-element topic="literal-types.md"
16+
toc-title="Literal values"/>
17+
<toc-element topic="const-types.md"
18+
toc-title="Constant references"/>
19+
<toc-element topic="shape-types.md"
20+
toc-title="Shape types"/>
21+
<toc-element topic="callable-types.md"
22+
toc-title="Callable types (Delegates)"/>
23+
<!-- TODO -->
24+
<toc-element topic="conditional-types.md" toc-title="Conditions" hidden="true"/>
25+
<toc-element topic="comparison.md" toc-title="Comparison of syntax between different tools">
26+
<toc-element topic="basic-types-comparison.md"
27+
toc-title="Basic types"/>
28+
<toc-element topic="conditional-types-comparison.md"
29+
toc-title="Conditional types"/>
30+
<toc-element topic="literal-types-comparison.md"
31+
toc-title="Literal types"/>
32+
<toc-element topic="shape-types-comparison.md"
33+
toc-title="Shape types"/>
34+
<toc-element topic="callable-types-comparison.md"
35+
toc-title="Callable types"/>
36+
</toc-element>
37+
38+
<toc-element toc-title="Other tools">
39+
<toc-element toc-title="PHPStan" href="https://phpstan.org/writing-php-code/phpdoc-types" />
40+
<toc-element toc-title="Psalm" href="https://psalm.dev/docs/annotating_code/typing_in_psalm/" />
41+
<toc-element toc-title="PhpStorm" href="https://www.jetbrains.com/help/phpstorm/php-type-checking.html" />
42+
<toc-element toc-title="phpDocumentor" href="https://docs.phpdoc.org/guide/guides/types.html" />
43+
</toc-element>
1644
</toc-element>
1745

1846
<toc-element topic="parser.md" toc-title="Parser">
19-
<toc-element topic="features.md"/>
20-
<toc-element topic="tolerant-mode.md"/>
47+
<toc-element topic="features.md"
48+
toc-title="Feature toggling"/>
49+
<toc-element topic="tolerant-mode.md"
50+
toc-title="Tolerant mode"/>
2151
<toc-element topic="visitors.md">
2252
<toc-element topic="class-name-matcher-visitor.md"/>
2353
<toc-element topic="stream-dumper-visitor.md"/>
2454
<toc-element topic="string-dumper-visitor.md"/>
2555
<toc-element topic="type-map-visitor.md"/>
2656
</toc-element>
57+
<toc-element toc-title="GitHub" href="https://github.com/php-type-language/parser" />
58+
<toc-element toc-title="Packagist" href="https://packagist.org/packages/type-lang/parser" />
2759
</toc-element>
2860

29-
<toc-element topic="printer.md" toc-title="Printer"/>
30-
<toc-element topic="reader.md" toc-title="Reader"/>
61+
<toc-element topic="printer.md" toc-title="Printer">
62+
<toc-element toc-title="GitHub" href="https://github.com/php-type-language/printer" />
63+
<toc-element toc-title="Packagist" href="https://packagist.org/packages/type-lang/printer" />
64+
</toc-element>
65+
66+
<toc-element topic="reader.md" toc-title="Reader">
67+
<toc-element toc-title="GitHub" href="https://github.com/php-type-language/reader" />
68+
<toc-element toc-title="Packagist" href="https://packagist.org/packages/type-lang/reader" />
69+
</toc-element>
3170
</instance-profile>

0 commit comments

Comments
 (0)