Skip to content

Commit 43c17bc

Browse files
Merge pull request #484 from SuffolkLITLab/419_415_merge_reorganize_api_docs
Merge API docs and reorganize files into folders that match the sidebar navigation
2 parents b1861c0 + 247adf2 commit 43c17bc

File tree

132 files changed

+1469
-692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

132 files changed

+1469
-692
lines changed

docs/alkiln/components/_scenario_folder_contents.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

docs/alkiln/components/_secure_env_vars.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/alkiln/components/_with_secrets.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/archive/bootcamp.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: bootcamp
33
title: Suffolk LIT Lab's Document Assembly Line Bootcamp
44
sidebar_label: Bootcamp
5-
slug: /archive/bootcamp
5+
slug: bootcamp
66
---
77

88
:::info
@@ -46,9 +46,9 @@ After signing up, you should have received invites to our docassemble server (ht
4646

4747
Resources from the session:
4848

49-
* [Running templates through the Weaver](weaver_overview.md)
50-
* [Labeling PDF variables](pdf_templates.md)
51-
* [Naming Variables Quick Reference](doc_vars_reference.md)
49+
* [Running templates through the Weaver](../authoring/weaver_overview.md)
50+
* [Labeling PDF variables](../authoring/pdf_templates.md)
51+
* [Naming Variables Quick Reference](../authoring/doc_vars_reference.md)
5252
* [The LIST taxonomy](https://taxonomy.legal/)
5353

5454
Homework:
@@ -78,7 +78,7 @@ additional questions.
7878

7979
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/VAzXYEacN78" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
8080

81-
* [Using Github in Docassemble](github.md)
81+
* [Using Github in Docassemble](../authoring/github.md)
8282
* Customizing basic branding with the [ALThemeTemplate](https://github.com/SuffolkLITLab/docassemble-ALThemeTemplate) package.
8383
* Logo
8484
* Intro screen
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: customizing_interview
33
title: Editing your interview
44
sidebar_label: Editing your interview
5-
slug: /customizing_interview
5+
slug: customizing_interview
66
---
77

88
## Edit your completed draft interview in the Docassemble playground
@@ -34,7 +34,7 @@ quite right, perhaps something as simple as a typo.
3434
## Work towards a readable, usable interview
3535

3636
You should also take this chance to review our guidance about
37-
[writing good questions](/docs/question_style_overview.md). While you edit
37+
[writing good questions](../style_guide/question_style_overview.md). While you edit
3838
your interview, work steadily to make it better.
3939

4040
## Getting the draft into your playground
@@ -56,11 +56,11 @@ Before downloading the package, turn off that behavior:
5656
First, create a new "Project" in your playground. Using projects will
5757
help you keep your Docassemble code organized.
5858

59-
![playground | projects ](./assets/playground_projects.png)
59+
![playground | projects ](../assets/playground_projects.png)
6060

6161
Next, upload this file to the Docassemble playground's `Packages` folder.
6262

63-
![Folders | Packages ](./assets/playground_packages_menu.png)
63+
![Folders | Packages ](../assets/playground_packages_menu.png)
6464

6565
## How to edit your interview
6666

@@ -76,15 +76,15 @@ Scroll through and take a look at the code. You will see:
7676
that are asked on each screen
7777

7878
You do not need to understand all of the code. Absorb what you can, and feel free
79-
to experiment. Save your code often, preferably to a [GitHub](/docs/github) repository.
79+
to experiment. Save your code often, preferably to a [GitHub](../authoring/github.md) repository.
8080

8181
You will likely start by clicking the "Save and Run" button to try running your
8282
interview through to the end. Note any awkward wording or changes you want to make.
8383

8484
Use the `id` that is on the top of each screen to find the screen that you want to change.
8585
Then, change the text that you want to change, or change the order of fields.
8686

87-
![id: request a guardianship](./assets/playground_id.png)
87+
![id: request a guardianship](../assets/playground_id.png)
8888

8989
Below we describe some of the most common starting customizations you will make,
9090
especially changes that interact with an Assembly Line convention.
@@ -436,7 +436,7 @@ content: |
436436
We usually don't recommend using the other options,
437437
which include help for the whole page (it comes too late) or `terms` (they get very cluttered very quickly).
438438

439-
A more complete guide to [helping your user](/docs/coding_style/yaml_interface.md#adding-help-in-context).
439+
A more complete guide to [helping your user](../coding_style/yaml_interface.md#adding-help-in-context).
440440

441441
## Why is this question getting asked?!!!
442442

@@ -754,4 +754,4 @@ with the blinking cursor.
754754
If you want to discard your changes and start over, upload the package .ZIP file
755755
to your playground again. This will wipe out all of your changes.
756756

757-
Use [GitHub](/docs/github) regularly to let you restore your work from a point in time.
757+
Use [GitHub](../authoring/github.md) regularly to let you restore your work from a point in time.
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: document_variables_reference
33
title: Field labels to use in template files
44
sidebar_label: Field labels to use in template files
5-
slug: /label_variables
5+
slug: label_variables
66
---
77

88
The Document Assembly Line framework can help you automate templates that use any
@@ -11,8 +11,8 @@ that we list below for full compatibility.
1111

1212
## Example documents
1313

14-
- [A fully labeled PDF](./assets/generic_motion_family_law.pdf)
15-
- [The DOCX version of the same motion](./assets/generic_motion_family_law.docx)
14+
- [A fully labeled PDF](../assets/generic_motion_family_law.pdf)
15+
- [The DOCX version of the same motion](../assets/generic_motion_family_law.docx)
1616

1717
:::info Use a custom AI assistant for labeling instead
1818

@@ -48,12 +48,12 @@ rules below to add as many custom labels as you need.
4848
#### Labels should be valid Python variable names that start with a letter
4949

5050
PDF and DOCX `labels` should also work as valid [Python variable
51-
names](/docs/coding_style_guide/python). The basic rule is that Python variable names
51+
names](../coding_style/python.md). The basic rule is that Python variable names
5252
need to start with a letter and can only contain letters, digits, and the `_`
5353
underscore character. Some variable names are
54-
[reserved](framework/reserved_keywords.md) and have a special meaning inside
54+
[reserved](../components/AssemblyLine/reserved_keywords.md) and have a special meaning inside
5555
AssemblyLine interviews. You should not use a variable name on the
56-
[reserved](framework/reserved_keywords.md) list. Doing so can lead to
56+
[reserved](../components/AssemblyLine/reserved_keywords.md) list. Doing so can lead to
5757
hard to track bugs.
5858

5959
#### Variable names are case sensitive - make them all lowercase
@@ -395,4 +395,4 @@ your edited template directly to the Docassemble playground's templates folder.
395395

396396
## See also
397397

398-
- [List of reserved variable names](framework/reserved_keywords.md)
398+
- [List of reserved variable names](../components/AssemblyLine/reserved_keywords.md)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
id: docx_templates
33
title: Working with DOCX files
44
sidebar_label: Working with DOCX files
5-
slug: /docx
5+
slug: docx
66
---
77

88
:::tip
@@ -193,7 +193,7 @@ each condition.
193193
### Use `output_checkbox()` for conditional checkbox fields that look like paper forms
194194

195195
In some cases, you need to make your Word Document look like a document that was
196-
filled in by hand. [`output_checkbox()`](https://assemblyline.suffolklitlab.org/docs/framework/altoolbox#shorthand-function-to-display-a-checkbox-in-replace-of-a-truefalse-boolean-value-in-a-docx-template) can be used to add a checkbox in-line in your document.
196+
filled in by hand. [`output_checkbox()`](../components/ALToolbox/altoolbox_overview.md#shorthand-function-to-display-a-checkbox-in-replace-of-a-truefalse-boolean-value-in-a-docx-template) can be used to add a checkbox in-line in your document.
197197

198198
These two expressions are equivalent, but the second version takes substantially less
199199
space in your template:

0 commit comments

Comments
 (0)