Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port-4313 ocean documentation #89

Merged
merged 126 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
856a714
docs initiation
yairsimantov20 Jul 25, 2023
edf4f6f
docs improvement
yairsimantov20 Jul 25, 2023
4ab9b05
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Jul 25, 2023
f915a3a
a bit of reference docs
yairsimantov20 Jul 25, 2023
15a2fba
showing release notes and license
yairsimantov20 Jul 25, 2023
878476c
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Jul 26, 2023
cb76702
added build command
yairsimantov20 Aug 3, 2023
7a5589d
update
yairsimantov20 Aug 3, 2023
89d532b
fixed the index file
yairsimantov20 Aug 3, 2023
c8897a5
name
yairsimantov20 Aug 3, 2023
90b9a0c
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 3, 2023
03e243c
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 6, 2023
9f7adc1
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 6, 2023
7209d94
docs
yairsimantov20 Aug 8, 2023
e71ede9
docs
yairsimantov20 Aug 8, 2023
bd84cf5
updated the docs
yairsimantov20 Aug 10, 2023
a782c4a
fixed snippets
yairsimantov20 Aug 10, 2023
eddd5a9
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 10, 2023
bd3ce31
Some local changes
MPTG94 Aug 10, 2023
d51c4af
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
MPTG94 Aug 14, 2023
854cea6
Update tree and complete index
MPTG94 Aug 14, 2023
041cbe1
Continue work on quickstart
MPTG94 Aug 15, 2023
b749779
Overhaul docs
MPTG94 Aug 16, 2023
6804960
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
yairsimantov20 Aug 16, 2023
051e3b9
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 16, 2023
d88a0a3
Fix sidebar titles and order
MPTG94 Aug 16, 2023
9c2eef7
Fix docs startup port
MPTG94 Aug 16, 2023
5453067
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
MPTG94 Aug 16, 2023
0da1c07
Added some api references and doc strings
yairsimantov20 Aug 16, 2023
3f82de6
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 16, 2023
d40acc2
moved the event listeners
yairsimantov20 Aug 16, 2023
7dcd2ea
removed unused md
yairsimantov20 Aug 16, 2023
f1a142c
Update pages and sidebar
MPTG94 Aug 17, 2023
a444492
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
MPTG94 Aug 17, 2023
8eb8713
Some mor fixes
MPTG94 Aug 17, 2023
fd30569
Continue work on development docs
MPTG94 Aug 17, 2023
9deda1b
Continue work
MPTG94 Aug 17, 2023
9c8b1cf
Continue work on configuration apge
MPTG94 Aug 17, 2023
f001ab7
changelog and license
yairsimantov20 Aug 17, 2023
b9c2429
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
yairsimantov20 Aug 17, 2023
65ce6fb
changelog
yairsimantov20 Aug 20, 2023
b7e597c
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 20, 2023
af36e72
fixed conflicts
yairsimantov20 Aug 20, 2023
d130412
Finish the event listener page
MPTG94 Aug 20, 2023
5bc072e
faq first version
yairsimantov20 Aug 20, 2023
bf20f25
Fix typo
MPTG94 Aug 20, 2023
a2a7f9e
Add another section to integration configuration
MPTG94 Aug 20, 2023
3816559
more docs
yairsimantov20 Aug 21, 2023
baf2e4a
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 21, 2023
3bf1700
Update FAQ
MPTG94 Aug 21, 2023
1d4ad19
thumbnail
yairsimantov20 Aug 21, 2023
c7cc40b
Update live events page
MPTG94 Aug 21, 2023
f129401
fixed faq links
yairsimantov20 Aug 21, 2023
4bef1ff
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 21, 2023
26c5400
fixed faq links
yairsimantov20 Aug 21, 2023
2a76f25
Update contexts page
MPTG94 Aug 21, 2023
806bc44
fixed scss
yairsimantov20 Aug 21, 2023
75da171
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 21, 2023
d625c5e
fixed the contexts code
yairsimantov20 Aug 21, 2023
1a4efe0
guidelines
yairsimantov20 Aug 21, 2023
0b80fc7
guidelines
yairsimantov20 Aug 21, 2023
f329022
showing integration icon
yairsimantov20 Aug 21, 2023
66fcf94
showing integration icon
yairsimantov20 Aug 22, 2023
0c91a7d
showing integration icon
yairsimantov20 Aug 22, 2023
1a7f9f4
guidlines
yairsimantov20 Aug 22, 2023
e946830
guidlines
yairsimantov20 Aug 22, 2023
33ed040
guidlines
yairsimantov20 Aug 22, 2023
2411d05
performance.md
yairsimantov20 Aug 22, 2023
7a3d1bd
initial triggering page
yairsimantov20 Aug 22, 2023
776b9c7
Add some more pages
MPTG94 Aug 22, 2023
4ac7a52
badges
yairsimantov20 Aug 22, 2023
c18e170
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 22, 2023
4b9e4ab
Complete spec.yml section
MPTG94 Aug 22, 2023
620e0b3
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
MPTG94 Aug 22, 2023
de2cdd5
Merge branch 'main' of github.com:port-labs/Port-Ocean into PORT-4313…
yairsimantov20 Aug 22, 2023
c599cc5
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
yairsimantov20 Aug 22, 2023
30ab55e
Remove unnecessary CSS
MPTG94 Aug 22, 2023
55517ec
Complete spec page
MPTG94 Aug 22, 2023
66d7741
Finish performance page
MPTG94 Aug 22, 2023
ee67e28
Updates guideliens page
MPTG94 Aug 23, 2023
3467b69
Make some minor updates
MPTG94 Aug 23, 2023
c78d396
sync page
yairsimantov20 Aug 23, 2023
d053ed6
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 23, 2023
7017a2f
sync page
yairsimantov20 Aug 23, 2023
b80c1f8
Some fixes
MPTG94 Aug 23, 2023
e64a20f
Merge branch 'PORT-4313-ocean-documentation' of github.com:port-labs/…
MPTG94 Aug 23, 2023
3ec4a87
resource mapping
yairsimantov20 Aug 23, 2023
4c19c97
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 23, 2023
a32f86c
resource mapping
yairsimantov20 Aug 23, 2023
f1119c0
api references tbd
yairsimantov20 Aug 23, 2023
8f1fd2b
fixed badges in the overview to link to the port-ocean
yairsimantov20 Aug 23, 2023
f84e900
Added user-agent title
yairsimantov20 Aug 23, 2023
e28999c
user agent doc
yairsimantov20 Aug 23, 2023
629d3d2
helm and tf pages
yairsimantov20 Aug 23, 2023
bdcb6e7
Remove emoji from all page titles
MPTG94 Aug 23, 2023
275fbd2
deployment methods
yairsimantov20 Aug 23, 2023
319a794
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 23, 2023
11fa0d0
Finish resource mapping page
MPTG94 Aug 23, 2023
3d87b04
Finish sync page
MPTG94 Aug 23, 2023
66430ee
Add TODO
MPTG94 Aug 23, 2023
0710287
Update header and footer
MPTG94 Aug 23, 2023
af70d9d
Complete user agent feature page
MPTG94 Aug 24, 2023
c74bc38
Finish deployment pages
MPTG94 Aug 24, 2023
eb4baf1
removed termy
yairsimantov20 Aug 24, 2023
add741c
Fix codeblocks in getting started
MPTG94 Aug 24, 2023
3c686f4
fixed build
yairsimantov20 Aug 24, 2023
8e3c42c
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 24, 2023
94588e5
removed files
yairsimantov20 Aug 24, 2023
2ac18f8
removed files
yairsimantov20 Aug 24, 2023
54ad5c7
Fix issue in CI
MPTG94 Aug 24, 2023
81c0f0a
Fix CI
MPTG94 Aug 24, 2023
42a52bf
Test CI update
MPTG94 Aug 24, 2023
1fa727c
Update CI
MPTG94 Aug 24, 2023
d1d4cca
Fix bad reference
MPTG94 Aug 24, 2023
be01b11
Organize CI a bit
MPTG94 Aug 24, 2023
f59f6c8
Update verify-docs-build.yml
yairsimantov20 Aug 24, 2023
b165bce
check
yairsimantov20 Aug 24, 2023
6ec0817
Merge remote-tracking branch 'origin/PORT-4313-ocean-documentation' i…
yairsimantov20 Aug 24, 2023
64eb845
check
yairsimantov20 Aug 24, 2023
15191cb
check
yairsimantov20 Aug 24, 2023
b500e76
check
yairsimantov20 Aug 24, 2023
11700e3
check
yairsimantov20 Aug 24, 2023
47d916a
check
yairsimantov20 Aug 24, 2023
bb32a93
check
yairsimantov20 Aug 24, 2023
c9de597
fixed lint
yairsimantov20 Aug 24, 2023
4a87455
fixed lint
yairsimantov20 Aug 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 54 additions & 0 deletions .github/workflows/verify-docs-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Verify Docs Build

on:
pull_request:
types:
- "opened"
- "synchronize"
- "reopened"
- "ready_for_review"
- "converted_to_draft"

concurrency:
group: ${{ github.ref }}
cancel-in-progress: true

jobs:
build-docs:
runs-on: ubuntu-latest
name: Test successful docs production build
defaults:
run:
working-directory: docs/framework-guides/
steps:
- uses: actions/checkout@v3
with:
persist-credentials: true
- name: Install dependencies
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: npm
cache-dependency-path: docs/framework-guides/package-lock.json
- run: npm ci
- name: Build
run: npm run build

build-api-docs:
runs-on: ubuntu-latest
name: Test successful api-docs production build
defaults:
run:
working-directory: docs/api-docs
steps:
- uses: actions/checkout@v3
with:
persist-credentials: true
- name: Install dependencies
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Make install and build
run: |
make install
make build
6 changes: 5 additions & 1 deletion .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
extends: default

ignore-from-file: [.gitignore, .yamlignore]
ignore: |
**/node_modules/**
.gitignore
.yamlignore
**/{{cookiecutter.integration_slug}}/**
rules:
# ignore line length
Expand Down
30 changes: 14 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

<!-- towncrier release notes start -->

0.2.3 (2023-08-17)
==================
## 0.2.3 (2023-08-17)

### Features

Expand All @@ -26,24 +25,23 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Handled delete events from change log where there is no after


0.2.2 (2023-08-11)
==================
## 0.2.2 (2023-08-11)

### Bug Fixes

- Fixed an issue causing the config yaml providers to not be parsed


0.2.1 (2023-08-09)
==================
## 0.2.1 (2023-08-09)


### Bug Fixes

- Fixed an issue causing ocean to convert the integration config objects to camelized objects


0.2.0 (2023-08-09)
==================
## 0.2.0 (2023-08-09)


### Breaking Changes

Expand All @@ -64,16 +62,16 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fixed an issue that caused the jq `None` values for relations to become a string with the value `"None"` instead of being interpreted as `null` in JSON


0.1.3 (2023-08-02)
==================
## 0.1.3 (2023-08-02)


### Bug Fixes

- Fixed an issue preventing the setup of an integration with config values passed exclusively as environment variables. This fix also enables the option to deploy an integration to AWS ECS using Terraform (PORT-4379)


0.1.2 (2023-07-27)
==================
## 0.1.2 (2023-07-27)


### Breaking Changes

Expand All @@ -94,8 +92,8 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fixed a crash when there are no resources in the port-app-config


0.1.1 (2023-07-26)
==================
## 0.1.1 (2023-07-26)


### Breaking Changes

Expand All @@ -117,8 +115,8 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fixed an issue with initializePortResources that caused failure for unknown file names on init (PORT-4343)


0.1.0 (2023-07-20)
==================
## 0.1.0 (2023-07-20)


### Features

Expand Down
File renamed without changes.
55 changes: 55 additions & 0 deletions docs/api-docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
ACTIVATE := . .venv/bin/activate

define install_poetry
if ! command -v poetry &> /dev/null; then \
pip install --upgrade pip; \
pip install poetry; \
else \
echo "Poetry is already installed."; \
fi
endef

define deactivate_virtualenv
if [ -n "$$VIRTUAL_ENV" ]; then \
unset VIRTUAL_ENV; \
unset PYTHONHOME; \
unset -f pydoc >/dev/null 2>&1; \
OLD_PATH="$$PATH"; \
PATH=$$(echo -n "$$PATH" | awk -v RS=: -v ORS=: '/\/virtualenv\/bin$$/ {next} {print}'); \
export PATH; \
hash -r; \
echo "Deactivated the virtual environment."; \
fi
endef

.SILENT: install


# Install dependencies
install:
$(call deactivate_virtualenv) && \
$(call install_poetry) && \
poetry install --all-extras

run:
$(ACTIVATE) && \
mkdocs serve -w ../../

build:
$(ACTIVATE) && \
mkdocs build

clean:
@find . -name '.venv' -type d -exec rm -rf {} \;
@find . -name '*.pyc' -exec rm -rf {} \;
@find . -name '__pycache__' -exec rm -rf {} \;
@find . -name 'Thumbs.db' -exec rm -rf {} \;
@find . -name '*~' -exec rm -rf {} \;
rm -rf .cache
rm -rf build
rm -rf dist
rm -rf *.egg-info
rm -rf htmlcov
rm -rf .tox/
rm -rf docs/_build
rm -rf dist/
115 changes: 115 additions & 0 deletions docs/api-docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
site_name: Ocean API References
site_url: https://app.getport.io
theme:
name: material
logo: ./assets/OceanSymbol.svg
favicon: ./assets/OceanSymbol.svg
features:
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.tooltips
- navigation.indexes
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
- navigation.tabs

palette:
- scheme: default
media: "(prefers-color-scheme: light)"
primary: teal
accent: indigo
toggle:
icon: material/lightbulb
name: Switch to dark mode
- scheme: slate
media: "(prefers-color-scheme: dark)"
primary: teal
accent: indigo
toggle:
icon: material/lightbulb-outline
name: Switch to light mode

repo_name: port-labs/Port-Ocean
repo_url: https://github.com/port-labs/Port-Ocean
docs_dir: src

# Plugins
plugins:
- redirects:
redirect_maps:
'index.md': 'references/index.md'
- search:
separator: '[\s\-,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- mkdocstrings:
handlers:
python:
paths: [../../port_ocean]
options:
show_root_heading: true
heading_level: 2
show_category_heading: true
show_source: false
show_bases: false

markdown_extensions:
- admonition
- toc:
permalink: true
- codehilite:
linenums: True
guess_lang: false
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format ""
- pymdownx.tabbed:
alternate_style: true
- pymdownx.snippets:
base_path: ../
- attr_list:
- md_in_html:

extra_css:
- assets/css/termynal.css
- assets/css/custom.css
extra_javascript:
- assets/js/termynal.js
- assets/js/custom.js

nav:
- 🔍 References:
- References: ./references/index.md
- core:
- integrations:
- ./references/core/integrations/index.md
- mixins: ./references/core/integrations/mixins.md
- handlers:
- entities_state_applier: ./references/core/handlers/entities-state-applier.md
- entity_processor: ./references/core/handlers/entity-processor.md
- port_app_config: ./references/core/handlers/port-app-config.md
- event_listener:
- ./references/core/event-listener/index.md
- polling: ./references/core/event-listener/polling.md
- kafka: ./references/core/event-listener/kafka.md
- http: ./references/core/event-listener/http.md
- models: ./references/core/models.md
- ocean_types: ./references/core/ocean-types.md
- clients: ./references/clients.md
- config: ./references/config.md
- consumers: ./references/consumers.md
- context: ./references/context.md
- middleware: ./references/middleware.md
- ocean: ./references/ocean.md
- run: ./references/run.md
- utils: ./references/utils.md
- 🌊 Ocean Guides: https://ocean.getport.io
Loading