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

doc-fix(interface): correct deprecated reference in details #1099

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 4 additions & 2 deletions src/documentation/data/server/doc-data-server-messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ While the context is derived from the \`filename\`, we currently offer no way to
}
});

const deprecatedByQuery = `(<a href="${FlowrWikiBaseRef}/Query%20API">deprecated</a>)`;

documentServerMessage({
title: 'Slice',
type: 'request',
Expand All @@ -245,7 +247,7 @@ While the context is derived from the \`filename\`, we currently offer no way to
end
deactivate Server
`,
shortDescription: `([DEPRECATED](${FlowrWikiBaseRef}/Query%20API)) The server slices a file based on the given criteria.`,
shortDescription: `${deprecatedByQuery} The server slices a file based on the given criteria.`,
text: async(shell: RShell) => {
return `
${block({
Expand Down Expand Up @@ -503,7 +505,7 @@ See [above](#message-request-file-analysis) for the general structure of the res
end
deactivate Server
`,
shortDescription: '([DEPRECATED](${FlowrWikiBaseRef}/Query%20API)) Obtain the lineage of a given slicing criterion.',
shortDescription: `${deprecatedByQuery} Obtain the lineage of a given slicing criterion.`,
text: async(shell: RShell) => {
return `

Expand Down
Loading
Loading