Skip to content

Commit

Permalink
Update doc (#8)
Browse files Browse the repository at this point in the history
* Update doc

* Update workflow.
  • Loading branch information
pbrochar authored Feb 17, 2024
1 parent c8161f9 commit a88e591
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 13 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v3
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- name: Install Poetry
uses: snok/install-poetry@v1
- run: poetry install --with=doc
Expand Down
2 changes: 1 addition & 1 deletion blitz/ui/pages/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def render_page(self) -> None:
with ui.column().classes("w-2/3 h-full border rounded-lg border-gray-300"):
with ui.expansion("Project", value=True, icon="info").classes("w-full text-bold text-2xl "):
ProjectDetailComponent().render()
with ui.expansion("Models", value=True, icon="help_outline").classes("w-full text-bold text-2xl"):
with ui.expansion("Resources", value=True, icon="help_outline").classes("w-full text-bold text-2xl"):
ui.table(columns=self.columns, rows=self.rows, row_key="name").classes("w-full no-shadow")
with ui.expansion("Status", value=True, icon="health_and_safety").classes("w-full text-bold text-2xl"):
# See https://github.com/zauberzeug/nicegui/issues/2174
Expand Down
2 changes: 1 addition & 1 deletion blitz/ui/pages/gpt_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"description": "A randomly generated Blitz app",
"version": "1.0.0"
},
"models": [
"resources": [
{
"name": "User",
"fields": {
Expand Down
6 changes: 3 additions & 3 deletions docs/blitzfile/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The resources section is built as below:
=== "Json"

```json
"models": [
"resources": [
{
"name": "TodoList",
"fields": {}
Expand Down Expand Up @@ -102,7 +102,7 @@ Here is an example of a working Blitz file:
=== "Json"

```json
"models": [
"resources": [
{
"name": "TodoList",
"fields": {
Expand Down Expand Up @@ -147,7 +147,7 @@ Here is an example of a working Blitz file:
=== "Json (explicit)"

```json
"models": [
"resources": [
{
"name": "TodoList",
"fields": {
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Here is an example of how simple a Blitz file is:
"description": "Here is a simple blitz configuration file.",
"version": "0.1.0"
},
"models": [
"resources": [
{
"name": "TodoList",
"fields": {
Expand Down

0 comments on commit a88e591

Please sign in to comment.