Skip to content

Commit ce2f248

Browse files
authored
Add book.toml and move apps to extensions (#24)
1 parent 2f2cbb7 commit ce2f248

File tree

207 files changed

+151
-21
lines changed

Some content is hidden

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

207 files changed

+151
-21
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ __pycache__
2929

3030
target/
3131
build
32+
book/
3233
.vscode-test/
3334

3435
# ide folders
@@ -48,3 +49,5 @@ build
4849
.env*
4950

5051
rust-toolchain.toml
52+
53+
run-build.sh

README.md

Lines changed: 3 additions & 3 deletions

book.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[book]
2+
title = "Amazon Q in the command line"
3+
authors = [
4+
"Amazon Q CLI Team ([email protected])",
5+
"Grant Gurvis ([email protected])",
6+
"Chay Nabors ([email protected])",
7+
"Brandon Kiser ([email protected])",
8+
]
9+
language = "en"
10+
multilingual = false
11+
src = "docs"

build-scripts/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ def build_npm_packages(run_test: bool = True) -> NpmBuildOutput:
8484
# copy to output
8585
dashboard_path = BUILD_DIR / "dashboard"
8686
shutil.rmtree(dashboard_path, ignore_errors=True)
87-
shutil.copytree("apps/dashboard/dist", dashboard_path)
87+
shutil.copytree("packages/dashboard/dist", dashboard_path)
8888

8989
autocomplete_path = BUILD_DIR / "autocomplete"
9090
shutil.rmtree(autocomplete_path, ignore_errors=True)
91-
shutil.copytree("apps/autocomplete/dist", autocomplete_path)
91+
shutil.copytree("packages/autocomplete/dist", autocomplete_path)
9292

9393
vscode_path = BUILD_DIR / "vscode-plugin.vsix"
9494
shutil.rmtree(vscode_path, ignore_errors=True)
@@ -549,7 +549,7 @@ def build_linux_deb(
549549
desktop_entry_path = bundle_dir / f"usr/share/applications/{LINUX_PACKAGE_NAME}.desktop"
550550
desktop_entry_path.parent.mkdir(parents=True)
551551
desktop_entry_path.write_text(linux_desktop_entry())
552-
desktop_icon_path = bundle_dir / f"usr/share/icons/hicolor/128x128/apps/{LINUX_PACKAGE_NAME}.png"
552+
desktop_icon_path = bundle_dir / f"usr/share/icons/hicolor/128x128/packages/{LINUX_PACKAGE_NAME}.png"
553553
desktop_icon_path.parent.mkdir(parents=True)
554554
share_path = bundle_dir / f"usr/share/{LINUX_PACKAGE_NAME}"
555555
share_path.mkdir(parents=True)

crates/fig_desktop/README.md

Lines changed: 1 addition & 1 deletion
-332 Bytes
Binary file not shown.

docs/SUMMARY.md

Lines changed: 12 additions & 0 deletions
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ flowchart LR
1212
subgraph webview[Web View]
1313
style webview fill:transparent,stroke-dasharray: 5 5
1414
autocomplete[fa:fa-window-restore Autocomplete *]
15-
click autocomplete href "apps/autocomplete"
15+
click autocomplete href "packages/autocomplete"
1616
dashboard[fa:fa-window-maximize Dashboard *]
17-
click dashboard href "apps/dashboard"
17+
click dashboard href "packages/dashboard"
1818
end
1919
localCli[Q CLI *]
2020
click localCli href "q_cli"
Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)