forked from HumanSignal/label-studio
-
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.
docs: Style and content updates (HumanSignal#5407)
style and content updates to open source and enterprise docs --------- Co-authored-by: Hugues Tennier <[email protected]> Co-authored-by: caitlin_wheeless <[email protected]> Co-authored-by: caitlin_wheeless <[email protected]>
- Loading branch information
1 parent
8090c77
commit 46c944f
Showing
418 changed files
with
2,965 additions
and
14,517 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,3 +77,6 @@ docker-compose.override.yml | |
|
||
# actions-hub | ||
.github/actions-hub | ||
|
||
# Local Netlify folder | ||
.netlify |
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 |
---|---|---|
@@ -1,28 +1,32 @@ | ||
[[redirects]] | ||
from = "https://heartex-docs.netlify.app/api/*" | ||
to = "https://app.heartex.com/docs/api/:splat" | ||
status = 301 | ||
force = true | ||
from = "https://heartex-docs.netlify.app/api/*" | ||
to = "https://app.heartex.com/docs/api/:splat" | ||
status = 301 | ||
force = true | ||
|
||
[[redirects]] | ||
from = "https://docs.humansignal.com/api/*" | ||
to = "https://app.heartex.com/docs/api/:splat" | ||
status = 301 | ||
force = true | ||
from = "https://docs.humansignal.com/api/*" | ||
to = "https://app.heartex.com/docs/api/:splat" | ||
status = 301 | ||
force = true | ||
|
||
[[redirects]] | ||
from = "/guide/starter_cloud" | ||
to = "https://humansignal.com/platform/starter-cloud/manage" | ||
status = 301 | ||
force = true | ||
from = "/guide/starter_cloud" | ||
to = "https://humansignal.com/platform/starter-cloud/manage" | ||
status = 301 | ||
force = true | ||
|
||
[[redirects]] | ||
from = "/" | ||
to = "/guide" | ||
status = 301 | ||
force = true | ||
from = "/" | ||
to = "/guide" | ||
status = 301 | ||
force = true | ||
|
||
[[redirects]] | ||
from = "/*" | ||
to = "/404.html" | ||
status = 404 | ||
from = "/*" | ||
to = "/404.html" | ||
status = 404 | ||
|
||
[dev] | ||
command = "yarn start" | ||
targetPort = 4000 |
Large diffs are not rendered by default.
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
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,45 @@ | ||
var HTMLParser = require("node-html-parser"); | ||
|
||
hexo.extend.helper.register('getRecentReleaseNotes', function() { | ||
|
||
const compareVersions = (a, b) => { | ||
const versionRegExp = /(?<x>\d+)?\.(?<y>\d+)?\.(?<z>\d+)?(?<t>\.dev|dev-|-|\.post)?(?<n>\d+)?/; | ||
const aMatch = a.fileName.match(versionRegExp); | ||
const bMatch = b.fileName.match(versionRegExp); | ||
const toInt = (a, d) => a.groups[d]? a.groups[d] * 1 : 0; | ||
for (let d of ['x', 'y', 'z', 'n']) { | ||
const aMatchInt = toInt(aMatch, d); | ||
const bMatchInt = toInt(bMatch, d); | ||
if (aMatchInt === bMatchInt) | ||
continue; | ||
return bMatchInt - aMatchInt; | ||
} | ||
return 0 | ||
}; | ||
|
||
const data = this.site.pages.filter(page => page.source.includes('release_notes') && !page.source.includes('index.md')); | ||
|
||
const releaseNotes = data.map((note) => { | ||
|
||
const fileName = note.source.split("/")[3]; | ||
if(!fileName) return; | ||
|
||
const template = HTMLParser.parse(note.content); | ||
|
||
const h2 = template.querySelector("h2") | ||
const title = h2.text; | ||
const id = h2.id; | ||
|
||
return { | ||
fileName, | ||
title, | ||
id | ||
} | ||
}) | ||
|
||
releaseNotes.sort(compareVersions); | ||
|
||
const recentReleaseNotes = releaseNotes.slice(0, 3); | ||
|
||
return recentReleaseNotes; | ||
}); |
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
127 changes: 0 additions & 127 deletions
127
docs/source/blog/6-costly-data-labeling-mistakes-and-how-to-avoid-them.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.