Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
3dd4dc0
Changing docs root to prep for docs changes
dylburger Jan 12, 2022
0c37aeb
Committing new vercel.json to handle pathing
dylburger Jan 12, 2022
81738b8
Moving to a sub-language navigation and adding Python examples
ctrlaltdylan Jan 14, 2022
30e9895
Adding more python docs about file storage, sending files, etc
ctrlaltdylan Jan 18, 2022
0497b5a
Tweaks to python and finishing up bash steps
ctrlaltdylan Jan 18, 2022
0d6caed
Basic tmp example for curl
ctrlaltdylan Jan 19, 2022
6627146
mid edit through the to-do list
ctrlaltdylan Jan 20, 2022
0629b60
Completing review notes
ctrlaltdylan Jan 21, 2022
aaee243
Incorporating dropdown versioning and adding new signifier
ctrlaltdylan Jan 21, 2022
681781d
Adding fun gradient styling
ctrlaltdylan Jan 21, 2022
b3b2127
Playing with a typeface
ctrlaltdylan Jan 21, 2022
703aee6
Removing dead spaces
ctrlaltdylan Jan 21, 2022
3e12f75
Fixing mis-configured subsection path
ctrlaltdylan Jan 21, 2022
dad8407
Adding file example
ctrlaltdylan Jan 21, 2022
f840343
Hack to support internal relative URLs
ctrlaltdylan Jan 21, 2022
7c8e9be
Good spellchecker
ctrlaltdylan Jan 21, 2022
99094d3
More spell checking
ctrlaltdylan Jan 21, 2022
4329201
Polish iteration #2.8
ctrlaltdylan Jan 24, 2022
cc86691
Matching bash format for passing data more closely
ctrlaltdylan Jan 24, 2022
752a08d
Adding a limitation note as well
ctrlaltdylan Jan 24, 2022
af7a546
Adding defineComponent wrapping to main nodejs README and working wit…
ctrlaltdylan Jan 24, 2022
ef3fd30
Gotta catch'em all ...typos
ctrlaltdylan Jan 24, 2022
40803ce
Adding $.auth and removing checkpoints altogether
ctrlaltdylan Jan 25, 2022
00b4efd
Merge branch 'master' into docs-new-workflow-builder
dylburger Jan 25, 2022
082c518
Merge branch 'docs-new-workflow-builder' of github.com:PipedreamHQ/pi…
dylburger Jan 25, 2022
7a1ed2c
Adding $.service.db examples in the state docs
ctrlaltdylan Jan 25, 2022
4a029cc
Merge branch 'docs-new-workflow-builder' of github.com:PipedreamHQ/pi…
ctrlaltdylan Jan 25, 2022
0803d01
Adding state management docs
ctrlaltdylan Jan 25, 2022
b29c319
Adding 404 checker
ctrlaltdylan Jan 25, 2022
311f080
Adding spellchecking appeasement & removing loud 404 finder
ctrlaltdylan Jan 25, 2022
e443b66
Dedupe is fine
ctrlaltdylan Jan 25, 2022
7dfae93
Docs v2 updates (#2090)
psavkar Jan 26, 2022
6099d6c
Adding multiworkflow example
ctrlaltdylan Jan 26, 2022
e42d52e
Merging in master and adding node.js state passing as well as fixing …
ctrlaltdylan Jan 26, 2022
1de4b8c
Adding Node.js passing data between steps, route addition to fix URL …
ctrlaltdylan Jan 26, 2022
fdb4024
python vs Python
ctrlaltdylan Jan 26, 2022
6902d62
Iteration #5
ctrlaltdylan Jan 26, 2022
2f736de
Spellchecking
ctrlaltdylan Jan 26, 2022
dff7aad
Removing obsolete $.flow.end statement in inspector logs
ctrlaltdylan Jan 26, 2022
885eb7a
Testing / modifying code examples (#2133)
dylburger Jan 27, 2022
cbec3ac
Fixing redundant python ENV example
ctrlaltdylan Jan 27, 2022
f529adf
Adding Dylan's Edits
ctrlaltdylan Jan 27, 2022
9c06308
Adding a more concrete file example to fix spellchecker and make it e…
ctrlaltdylan Jan 27, 2022
903c30c
Correcting two links
dylburger Feb 3, 2022
33bb36d
Fixing broken links
dylburger Feb 3, 2022
ff86536
Fixing misnamed to
ctrlaltdylan Feb 8, 2022
3ee3ed5
Basic outline of the migration guide
ctrlaltdylan Feb 9, 2022
ab8dc1a
WIP - more content
ctrlaltdylan Feb 10, 2022
2175a8f
Filling out skeleton more
ctrlaltdylan Feb 11, 2022
19ec27c
Merge remote-tracking branch 'origin/master' into docs-v2-migration-g…
dylburger Feb 15, 2022
fa8ad37
Accidental commits
dylburger Feb 15, 2022
e2866b2
Adding http response section
ctrlaltdylan Feb 15, 2022
d445fda
Spellchecking
ctrlaltdylan Feb 15, 2022
e8ddcb0
Simplifying
ctrlaltdylan Feb 15, 2022
08566be
More editing
ctrlaltdylan Feb 15, 2022
01c8af5
Edits
ctrlaltdylan Feb 15, 2022
c9e659a
Run through #3
ctrlaltdylan Feb 15, 2022
72789fd
Adding slack example
ctrlaltdylan Feb 15, 2022
5f45d50
Spellchecking
ctrlaltdylan Feb 15, 2022
e311399
Fixing internal title link scrolling
ctrlaltdylan Feb 16, 2022
0cd76c8
Adding a few more images and fixing internal links
ctrlaltdylan Feb 16, 2022
fa8e481
Adding Pravins updates
ctrlaltdylan Feb 16, 2022
6d7d58b
Moving migration guide to child nav and adding blurb for v2 only users
ctrlaltdylan Feb 16, 2022
5d0b07c
Adding testing events reference
ctrlaltdylan Feb 16, 2022
217337f
Bringing in the video as an embed
ctrlaltdylan Feb 16, 2022
0398381
Dylans edits v3
ctrlaltdylan Feb 16, 2022
bc30a35
Adding demo poster
ctrlaltdylan Feb 16, 2022
d8be43d
Adding Pravins latest edits, fixing youtube
ctrlaltdylan Feb 16, 2022
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
5 changes: 4 additions & 1 deletion .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1069,4 +1069,7 @@ golangcode
Sprintf
apiKey
fileUrl

stepName
firstName
Golang
UX
2 changes: 2 additions & 0 deletions docs/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = {
],
},
],
smoothScroll: false,
// if your docs are not at the root of the repo:
docsDir: "docs/docs",
editLinks: true,
Expand All @@ -65,6 +66,7 @@ module.exports = {
"/environment-variables/",
"/workflows/settings/",
"/workflows/networking/",
"/migrate-from-v1/",
]
},
"/sources/",
Expand Down
61 changes: 61 additions & 0 deletions docs/docs/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
import VueGtm from "vue-gtm";

// fork from vue-router@3.0.2
// src/util/scroll.js
function getElementPosition(el) {
const docEl = document.documentElement
const docRect = docEl.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
return {
x: elRect.left - docRect.left,
y: elRect.top - docRect.top,
}
}

/**
* Fix broken Vuepress scrolling to internal #links
*
* @param {String} to
* @returns void
*/
function scrollToAnchor(to) {
const targetAnchor = to.hash.slice(1)
const targetElement = document.getElementById(targetAnchor) || document.querySelector(`[name='${targetAnchor}']`)

if (targetElement) {
return window.scrollTo({
top: getElementPosition(targetElement).y,
behavior: 'smooth',
})
} else {
return false
}
}

export default ({
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance
Expand All @@ -15,6 +47,35 @@ export default ({
});
}

// Adapted from https://github.com/vuepress/vuepress-community/blob/7feb5c514090b6901cd7d9998f4dd858e0055b7a/packages/vuepress-plugin-smooth-scroll/src/enhanceApp.ts#L21
// With a bug fix for handling long pages
router.options.scrollBehavior = (to, from, savedPosition) => {
if (savedPosition) {
return window.scrollTo({
top: savedPosition.y,
behavior: 'smooth',
})
} else if (to.hash) {
if (Vue.$vuepress.$get('disableScrollBehavior')) {
return false
}
const scrollResult = scrollToAnchor(to)

if (scrollResult) {
return scrollResult
} else {
window.onload = () => {
scrollToAnchor(to)
}
}
} else {
return window.scrollTo({
top: 0,
behavior: 'smooth',
})
}
}

router.addRoutes([
{ path: "/cron", redirect: "/workflows/steps/triggers" },
{ path: "/notebook", redirect: "/workflows/steps" },
Expand Down
Loading