Skip to content

Commit

Permalink
add container examples link to side navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
smahati committed Apr 5, 2024
1 parent 29b7099 commit 4621d41
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
8 changes: 4 additions & 4 deletions docs/navigation-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ To define all subsequent nodes, use the category label:
{
category: 'Links',
externalLink: {
url: 'http://www.luigi-project.io',
url: 'http://www.luigi-project.io/docs/navigation-configuration',
sameWindow: false
},
label: 'Click here to visit the Luigi homepage',
label: 'Click here to visit the Luigi navigation doc',
},
...
```
Expand All @@ -183,10 +183,10 @@ To define all subsequent nodes, use the category label:
{
category: 'anyId',
externalLink: {
url: 'http://www.luigi-project.io',
url: 'http://www.luigi-project.io/docs/navigation-configuration',
sameWindow: false
},
label: 'Click here to visit the Luigi homepage',
label: 'Click here to visit the Luigi navigation doc',
},
...
```
8 changes: 5 additions & 3 deletions website/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ Luigi documentation, deployed via netlify and accessible at https://docs.luigi-p

## Development

1. Install dependencies.
1. Make sure that you are in the `website/docs` folder.

2. Install dependencies.

`npm install`

2. Build Project.
3. Build Project.

`npm run build`

3. Run Project: This command will serve Luigi Core on Port 4000 and the Client Microfrontends on Port 4001 on separate servers in parallel. To make sure both servers are running locally run them in separate Terminals
4. Run Project: This command will serve Luigi Core on Port 4000 and the Client Microfrontends on Port 4001 on separate servers in parallel. To make sure both servers are running locally run them in separate Terminals

`npm run core` and `npm run client`

Expand Down
20 changes: 20 additions & 0 deletions website/docs/static/public/navigation-nodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,25 @@
"categoryPosition": 8,
"position": 7
}
},
{
"label": "Luigi Container",
"pathSegment": "",
"navigationContext": "doc",
"keepSelectedForChildren": true,
"viewUrl": "__BASE_URL__/docs/",
"context": {
"doc": ""
},
"category": {
"label": "Examples"
},
"externalLink": {
"url": "https://github.com/SAP/luigi/tree/main/container/examples"
},
"metaData": {
"categoryPosition": 8,
"position": 8
}
}
]

0 comments on commit 4621d41

Please sign in to comment.