Skip to content

Commit

Permalink
chore: change docs links to new directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed Jan 26, 2024
1 parent 45bc3a5 commit 60ff121
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions src/assets/locales/de/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,9 @@
"title": "Below you can find the relevant details regarding all those values",
"centralAuth": "* central auth url: https:{{env}}/realms/CX-Central/protocol/openid-connect/token",
"clientId": "* client id: client id of your existing or newly created tech user - details how to: ",
"clientIdLink": "https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"clientIdLink": "https://portal.int.demo.catena-x.net/documentation/?path=user%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"clientSecret": "* client secret: client id of your existing or newly created tech user - details how to: ",
"clientSecretLink": "https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"clientSecretLink": "https://portal.int.demo.catena-x.net/documentation/?path=user%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"authorityBpn": "* authority bpn: {{bpn}}",
"miwUrl": "* miw url: https:{{managedIdentityWalletApiBase}}",
"clickhere": "click here"
Expand Down
2 changes: 1 addition & 1 deletion src/assets/locales/de/notification.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@
"title": "Notifications",
"subtitle": "Hier erhalten Sie relevante Neuigkeiten zu Catena-X, veröffentlichten Apps und Diensten sowie den von Ihnen genutzten Apps und Diensten. Darüber hinaus werden Änderungen an Ihrem Benutzerkonto, z. B. neu zugewiesene oder entzogene Rollen, geteilt.",
"linkText": "Help",
"link": "https://portal.dev.demo.catena-x.net/documentation/?path=docs%2F06.+Notifications"
"link": "https://portal.dev.demo.catena-x.net/documentation/?path=user%2F06.+Notifications"
}
}
4 changes: 2 additions & 2 deletions src/assets/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,9 +497,9 @@
"title": "Below you can find the relevant details regarding all those values",
"centralAuth": "* central auth url: https:{{env}}/realms/CX-Central/protocol/openid-connect/token",
"clientId": "* client id: client id of your existing or newly created tech user - details how to: ",
"clientIdLink": "https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"clientIdLink": "https://portal.int.demo.catena-x.net/documentation/?path=user%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"clientSecret": "* client secret: client id of your existing or newly created tech user - details how to: ",
"clientSecretLink": "https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"clientSecretLink": "https://portal.int.demo.catena-x.net/documentation/?path=user%2F03.+User+Management%2F03.+Technical+User%2F02.+Create+Technical+User.md",
"authorityBpn": "* authority bpn: {{bpn}}",
"miwUrl": "* miw url: https:{{managedIdentityWalletApiBase}}",
"clickhere": "click here"
Expand Down
2 changes: 1 addition & 1 deletion src/assets/locales/en/notification.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,6 @@
"title": "Notifications",
"subtitle": "Here you will receive relevant news about Catena-X, published apps and services and the apps and services you use. In addition, changes to your user account, e.g. newly assigned or revoked roles.",
"linkText": "Help",
"link": "https://portal.dev.demo.catena-x.net/documentation/?path=docs%2F06.+Notifications"
"link": "https://portal.dev.demo.catena-x.net/documentation/?path=user%2F06.+Notifications"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import {
import { Link } from 'react-router-dom'

const ProfileHelpURL =
'/documentation/?path=docs%2F05.+Service%28s%29%2F03.+Service+Subscription%2F01.+Service+Subscription.md'
'/documentation/?path=user%2F05.+Service%28s%29%2F03.+Service+Subscription%2F01.+Service+Subscription.md'

export default function ActivateserviceSubscription({
offerId,
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AddMultipleUser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ import { error } from 'services/NotifyService'
import ArrowForwardIcon from '@mui/icons-material/ArrowForward'

const HelpPageURL =
'/documentation/?path=docs%2F03.+User+Management%2F01.+User+Account%2F04.+Create+new+user+account+%28bulk%29.md'
'/documentation/?path=user%2F03.+User+Management%2F01.+User+Account%2F04.+Create+new+user+account+%28bulk%29.md'

export default function AddMultipleUser() {
const dispatch = useDispatch<typeof store.dispatch>()
Expand Down
2 changes: 1 addition & 1 deletion src/components/overlays/AddTechnicalUser/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const AddTechnicalUser = () => {
/>
<DialogContent>
<Link
to="/documentation/?path=docs%2F03.+User+Management%2F03.+Technical+User"
to="/documentation/?path=user%2F03.+User+Management%2F03.+Technical+User"
target="_blank"
>
<Typography variant="body2" className="helpText">
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/AppOverview/AddRolesOverlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ const AddRolesOverlay = ({
variant="contained"
onClick={() =>
window.open(
'/documentation/?path=docs%2F04.+App%28s%29%2FRelease-Process%2FApp+Release+Workflow.md',
'/documentation/?path=user%2F04.+App%28s%29%2FRelease-Process%2FApp+Release+Workflow.md',
'_blank',
'noopener'
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ import { Link } from 'react-router-dom'
import { closeOverlay } from 'features/control/overlay'

const TentantHelpURL =
'/documentation/?path=docs%2F04.App%28s%29%2F05.+App-Subscription%2F04.+Subscription+Activation%28App+Provider%29.md'
'/documentation/?path=user%2F04.App%28s%29%2F05.+App-Subscription%2F04.+Subscription+Activation%28App+Provider%29.md'
const ProfileHelpURL =
'/documentation/?path=docs%2F04.App%28s%29%2F05.+App-Subscription%2F04.+Subscription+Activation%28App+Provider%29.md'
'/documentation/?path=user%2F04.App%28s%29%2F05.+App-Subscription%2F04.+Subscription+Activation%28App+Provider%29.md'

interface ActivateSubscriptionProps {
openDialog: boolean
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/EdcConnector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const EdcConnector = () => {

const onHelpButtonClicked = () => {
const url =
'/documentation/?path=docs%2F02.+Technical+Integration%2F01.+Connector+Registration%2F02.+Connector+Registration.md'
'/documentation/?path=user%2F02.+Technical+Integration%2F01.+Connector+Registration%2F02.+Connector+Registration.md'
window.open(url, '_blank')
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ export default function AppMarketCard() {
isValid={isValid}
loader={loading}
helpUrl={
'/documentation/?path=docs%2F04.+App%28s%29%2F02.+App+Release+Process'
'/documentation/?path=user%2F04.+App%28s%29%2F02.+App+Release+Process'
}
/>
<PageSnackbar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ export default function AppPage() {
isValid={isValid && selectedPrivacyPolicies.length > 0}
loader={loading}
helpUrl={
'/documentation/?path=docs%2F04.+App%28s%29%2F02.+App+Release+Process'
'/documentation/?path=user%2F04.+App%28s%29%2F02.+App+Release+Process'
}
/>
<PageSnackbar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default function BetaTest() {
sx={{ mr: 1 }}
onClick={() =>
window.open(
'/documentation/?path=docs%2F04.+App%28s%29%2F02.+App+Release+Process',
'/documentation/?path=user%2F04.+App%28s%29%2F02.+App+Release+Process',
'_blank'
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function ContractAndConsent() {
getDocumentById={getDocumentById}
fetchFrameDocumentById={fetchFrameDocumentById}
helpUrl={
'/documentation/?path=docs%2F04.+App%28s%29%2F02.+App+Release+Process'
'/documentation/?path=user%2F04.+App%28s%29%2F02.+App+Release+Process'
}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export default function OfferCard() {
isValid={isValid}
loader={loading}
helpUrl={
'/documentation/?path=docs%2F05.+Service%28s%29%2F02.+Service+Release+Process'
'/documentation/?path=user%2F05.+Service%28s%29%2F02.+Service+Release+Process'
}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function OfferContractAndConsent() {
getDocumentById={getDocumentById}
fetchFrameDocumentById={fetchFrameDocumentById}
helpUrl={
'/documentation/?path=docs%2F05.+Service%28s%29%2F02.+Service+Release+Process'
'/documentation/?path=user%2F05.+Service%28s%29%2F02.+Service+Release+Process'
}
imageFieldLabel={
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export default function OfferPage({
isValid={isValid}
loader={loading}
helpUrl={
'/documentation/?path=docs%2F05.+Service%28s%29%2F02.+Service+Release+Process'
'/documentation/?path=user%2F05.+Service%28s%29%2F02.+Service+Release+Process'
}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export default function OfferTechnicalIntegration() {
isValid={serviceTechUserProfiles?.length > 0}
loader={loading}
helpUrl={
'/documentation/?path=docs%2F05.+Service%28s%29%2F02.+Service+Release+Process'
'/documentation/?path=user%2F05.+Service%28s%29%2F02.+Service+Release+Process'
}
/>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default function OfferValidateAndPublish({
values={defaultValues}
serviceTypes={getServiceTypes()}
helpUrl={
'/documentation/?path=docs%2F05.+Service%28s%29%2F02.+Service+Release+Process'
'/documentation/?path=user%2F05.+Service%28s%29%2F02.+Service+Release+Process'
}
conformityDocument={t('step4.conformityDocument')}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export default function TechnicalIntegration() {
color="secondary"
onClick={() =>
window.open(
'https://portal.dev.demo.catena-x.net/documentation/?path=docs%2F04.+App%28s%29%2FRelease-Process%2FApp+Release+Workflow.md',
'https://portal.dev.demo.catena-x.net/documentation/?path=user%2F04.+App%28s%29%2FRelease-Process%2FApp+Release+Workflow.md',
'_blank',
'noopener'
)
Expand Down Expand Up @@ -614,7 +614,7 @@ export default function TechnicalIntegration() {
description: t('content.apprelease.appReleaseForm.error.message'),
}}
helpUrl={
'/documentation/?path=docs%2F04.+App%28s%29%2F02.+App+Release+Process'
'/documentation/?path=user%2F04.+App%28s%29%2F02.+App+Release+Process'
}
isValid={data && data?.length > 0 && techUserProfiles?.length > 0}
loader={loading}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export default function ValidateAndPublish({
values={defaultValues}
rolesData={data}
helpUrl={
'/documentation/?path=docs%2F04.+App%28s%29%2F02.+App+Release+Process'
'/documentation/?path=user%2F04.+App%28s%29%2F02.+App+Release+Process'
}
/>
</div>
Expand Down

0 comments on commit 60ff121

Please sign in to comment.