File tree Expand file tree Collapse file tree 7 files changed +47
-0
lines changed Expand file tree Collapse file tree 7 files changed +47
-0
lines changed Original file line number Diff line number Diff line change @@ -76,3 +76,27 @@ To add an example to the static examples:
76
76
- Add appropriate link in: ` docs/source/examples.rst `
77
77
- Add the example name to the ` EXAMPLES ` in ` docs/source/conf.py `
78
78
- Add ` ignore-links ` config in ` package.json `
79
+
80
+ ## Documentation
81
+
82
+ The documentation is built with [ sphinx] ( https://www.sphinx-doc.org/en/master/ )
83
+ making use of the [ PyData Sphinx theme] ( https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html ) .
84
+
85
+ To build it locally
86
+
87
+ - create and activate an isolated development environment with the necessary dependencies
88
+ with
89
+
90
+ ``` bash
91
+ conda env create -f docs/environment.yml
92
+ conda activate lumino_documentation
93
+ ```
94
+
95
+ - build, for example the html version, with
96
+
97
+ ``` bash
98
+ cd docs
99
+ make html
100
+ ```
101
+
102
+ The HTML pages are then located in the ` build/html ` directory.
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ import { TextRenderer } from './textrenderer';
52
52
* the child widgets of a data grid directly is undefined behavior.
53
53
*
54
54
* This class is not designed to be subclassed.
55
+ *
56
+ * See also the related [example](../../examples/datagrid/index.html) and
57
+ * its [source](https://github.com/jupyterlab/lumino/tree/main/examples/example-datagrid).
55
58
*/
56
59
export class DataGrid extends Widget {
57
60
/**
Original file line number Diff line number Diff line change @@ -15,12 +15,16 @@ import { Widget } from './widget';
15
15
*
16
16
* #### Notes
17
17
* This class provides a convenience wrapper around {@link AccordionLayout}.
18
+ *
19
+ * See also the related [example](../../examples/accordionpanel/index.html) and
20
+ * its [source](https://github.com/jupyterlab/lumino/tree/main/examples/example-accordionpanel).
18
21
*/
19
22
export class AccordionPanel extends SplitPanel {
20
23
/**
21
24
* Construct a new accordion panel.
22
25
*
23
26
* @param options - The options for initializing the accordion panel.
27
+ *
24
28
*/
25
29
constructor ( options : AccordionPanel . IOptions = { } ) {
26
30
super ( { ...options , layout : Private . createLayout ( options ) } ) ;
Original file line number Diff line number Diff line change @@ -120,13 +120,17 @@ export namespace BoxPanel {
120
120
/**
121
121
* The layout direction of the panel.
122
122
*
123
+ * Possible values are documented in {@link BoxLayout.Direction}.
124
+ *
123
125
* The default is `'top-to-bottom'`.
124
126
*/
125
127
direction ?: Direction ;
126
128
127
129
/**
128
130
* The content alignment of the panel.
129
131
*
132
+ * Possible values are documented in {@link BoxLayout.Alignment}.
133
+ *
130
134
* The default is `'start'`.
131
135
*/
132
136
alignment ?: Alignment ;
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ import { Widget } from './widget';
31
31
32
32
/**
33
33
* A widget which provides a flexible docking area for widgets.
34
+ *
35
+ * #### Notes
36
+ * See also the related [example](../../examples/dockpanel/index.html) and
37
+ * its [source](https://github.com/jupyterlab/lumino/tree/main/examples/example-dockpanel).
34
38
*/
35
39
export class DockPanel extends Widget {
36
40
/**
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ import { Widget } from './widget';
33
33
34
34
/**
35
35
* A widget which displays menus as a canonical menu bar.
36
+ *
37
+ * #### Notes
38
+ * See also the related [example](../../examples/menubar/index.html) and
39
+ * its [source](https://github.com/jupyterlab/lumino/tree/main/examples/example-menubar).
36
40
*/
37
41
export class MenuBar extends Widget {
38
42
/**
Original file line number Diff line number Diff line change @@ -744,13 +744,17 @@ export namespace SplitLayout {
744
744
/**
745
745
* The orientation of the layout.
746
746
*
747
+ * Possible values are documented in {@link SplitLayout.Orientation}.
748
+ *
747
749
* The default is `'horizontal'`.
748
750
*/
749
751
orientation ?: Orientation ;
750
752
751
753
/**
752
754
* The content alignment of the layout.
753
755
*
756
+ * Possible values are documented in {@link SplitLayout.Alignment}.
757
+ *
754
758
* The default is `'start'`.
755
759
*/
756
760
alignment ?: Alignment ;
You can’t perform that action at this time.
0 commit comments