forked from elyra-ai/canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elyra-ai#1768 Improve format of mkdocs version of Elyra Canvas Help (e…
- Loading branch information
Showing
54 changed files
with
851 additions
and
697 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,11 @@ limitations under the License. | |
## elyra/canvas | ||
|
||
## Overview | ||
The Common Canvas tooling consists of two Node JS modules: | ||
The Elyra Canvas tooling consists of two Node JS modules: | ||
|
||
1) A `Common Canvas` for use in building canvas-like applications. See [detailed API and event documentation](https://github.com/elyra-ai/canvas/tree/main/canvas_modules/common-canvas). | ||
|
||
2) `Test harness` | ||
2) `Test harness` | ||
See [here](https://github.com/elyra-ai/canvas/tree/main/canvas_modules/harness) for setting up local environment | ||
|
||
## Documentation | ||
|
@@ -33,18 +33,21 @@ See [here](https://github.com/elyra-ai/canvas/tree/main/canvas_modules/harness) | |
## Using local version of common-canvas and/or common-properties | ||
Clone elyra/canvas | ||
```sh | ||
# Clone the repo | ||
git clone [email protected]:elyra-ai/canvas.git | ||
# install global libraries for building | ||
|
||
# Install global libraries for building | ||
npm install -g grunt-cli sass | ||
|
||
# Build common-canvas and common-properties | ||
./<elyra/canvas>/canvas_modules/common-canvas/build.sh | ||
``` | ||
In your application's package.json replace | ||
In your application's package.json replace | ||
``` | ||
"@elyra/canvas": "<version>" | ||
``` | ||
with | ||
``` | ||
``` | ||
"@elyra/canvas": "file:<elyra/canvas>/canvas_modules/common-canvas" | ||
``` | ||
|
||
|
@@ -57,7 +60,8 @@ npm install | |
|
||
### Contribute to the Elyra Canvas documentation (mkdocs) | ||
1. Python v3 needs to be available. | ||
2. Go to canvas directory. | ||
|
||
2. Go to canvas/docs directory. | ||
|
||
3. Install required mkdocs packages using pip3. | ||
``` | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# | ||
# Copyright 2017-2023 Elyra Authors | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
site_name: Elyra Canvas | ||
repo_url: https://github.com/elyra-ai/canvas | ||
docs_dir: pages | ||
|
||
theme: | ||
name: material | ||
highlightjs: true | ||
logo: assets/FlowIcon.png | ||
favicon: assets/FlowIcon.png | ||
palette: | ||
scheme: default | ||
features: | ||
- content.code.copy | ||
- content.action.edit | ||
- navigation.tabs | ||
- navigation.indexes | ||
|
||
plugins: | ||
- search | ||
|
||
extra_css: | ||
- css/styles.css | ||
|
||
extra_javascript: | ||
- js/links-in-new-tabs.js | ||
|
||
edit_uri: edit/main/docs/ | ||
|
||
# Documentation and theme | ||
copyright: 'Copyright © 2024 Elyra Authors, an open source project and all are welcome to contribute! Maintained by the Elyra Authors Team' | ||
|
||
nav: | ||
- Home: index.md | ||
|
||
- Installation: | ||
- 01-install/index.md | ||
|
||
- Common Canvas: | ||
- 02-canvas/index.md | ||
- Canvas Components: | ||
- 02-canvas/01-components/index.md | ||
- Flow Editor: | ||
- 02-canvas/01-components/01-editor/index.md | ||
- Nodes: 02-canvas/01-components/01-editor/01-Nodes.md | ||
- Links: 02-canvas/01-components/01-editor/02-Links.md | ||
- Comments: 02-canvas/01-components/01-editor/03-Comments.md | ||
- Palette: 02-canvas/01-components/02-Palette.md | ||
- Context Menu: 02-canvas/01-components/03-Context-Menu.md | ||
- Context Toolbar: 02-canvas/01-components/04-Context-Toolbar.md | ||
- Config Objects: | ||
- 02-canvas/02-configs/index.md | ||
- Canvas Config: 02-canvas/02-configs/01-canvas-config.md | ||
- Toolbar Config: 02-canvas/02-configs/02-toolbar-config.md | ||
- Notification Config: 02-canvas/02-configs/03-notification-config.md | ||
- Context Menu Config: 02-canvas/02-configs/04-context-menu-config.md | ||
- Keyboard Config: 02-canvas/02-configs/05-keyboard-config.md | ||
- Callbacks: 02-canvas/03-callbacks/index.md | ||
- Canvas Controller: | ||
- 02-canvas/04-controller/index.md | ||
- Styling Canvas Objects: 02-canvas/04-controller/01-Styling-Objects.md | ||
- Decorations: 02-canvas/04-controller/02-Decorations.md | ||
- API Object Structure: 02-canvas/04-controller/03-Object-structure-used-by-API.md | ||
- Notification Message Specification: 02-canvas/04-controller/04-Notification-Message-Specification.md | ||
- Programmatically Creating New Canvas Nodes: 02-canvas/04-controller/05-Programmatically-creating-new-canvas-nodes.md | ||
- Read Only or Locked Canvas: 02-canvas/04-controller/06-Read-only-or-locked-canvas.md | ||
- Calling the Canvas Controller API: 02-canvas/04-controller/07-Calling-the-Canvas-Controller-API.md | ||
- Node Creation from External Object: 02-canvas/05-ext-objs/index.md | ||
- Commmand Stack API: 02-canvas/06-stack/01-Command-Stack.md | ||
- Customizing Node Layout Properties: 02-canvas/07-layout/01-Customizing-Node-Layout.md | ||
- Context Menu Wrapper Documentation: 02-canvas/08-menu/01-Context-Menu-Wrapper.md | ||
- External Subflows Support: 02-canvas/09-ext-flows/01-External-Subflows-support.md | ||
- Flow Validation API: 02-canvas/10-validate/01-Flow-Validation-API.md | ||
|
||
- Common Properties: | ||
- 03-props/index.md | ||
- Parameter Definitions: 03-props/01-Parameter-Definition.md | ||
- UI Hints: 03-props/02-UI-Hints.md | ||
- Controls: 03-props/03-Controls.md | ||
- Conditions: 03-props/04-Conditions.md | ||
- Custom Components: 03-props/05-Custom-Components.md | ||
- Properties Controller: 03-props/06-Properties-Controller.md | ||
|
||
- Troubleshooting: | ||
- 04-trouble/01-Troubleshooting.md | ||
|
||
- Contributing: | ||
- 05-contrib/01-Testing-Guidelines-for-Development.md | ||
|
||
# - Testing Guidelines for Development: 5.0-Testing-Guidelines-for-Development.md | ||
|
||
markdown_extensions: | ||
- admonition: | ||
- codehilite: | ||
- extra: | ||
- pymdownx.magiclink: | ||
- pymdownx.inlinehilite: | ||
- pymdownx.highlight: | ||
- pymdownx.superfences: | ||
custom_fences: | ||
- name: mermaid | ||
class: mermaid | ||
format: !!python/name:pymdownx.superfences.fence_code_format | ||
- sane_lists: | ||
- smarty: | ||
- toc: | ||
permalink: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Nodes | ||
|
||
## Introduction | ||
|
||
Nodes displayed in the flow editor can represent data operations or other types of | ||
operations for the type of flow the application displays. | ||
|
||
Nodes are made up of a number of display elements such as an image, label background shape etc. | ||
|
||
[Under construction] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Comments | ||
|
||
## Introduction | ||
|
||
[Under construction] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Flow Editor | ||
|
||
The Flow Editor displays the flow to the user and allows the user to interact with the flow using the mouse/trackpad and the keyboard and other input devices. | ||
|
||
The editor displays the following object types which the user can interact with: | ||
|
||
* Nodes | ||
* Links | ||
* Comments | ||
* The Canvas background | ||
|
||
|
||
[Still under construction] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.