Skip to content

Commit

Permalink
SWC-5595: point directly to rest docs site or new user docs site
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed May 12, 2021
1 parent 2d93754 commit 1bd3006
Show file tree
Hide file tree
Showing 82 changed files with 185 additions and 185 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This project helps you integrate your app with the Synapse API backend.

[See the available Components](https://sage-bionetworks.github.io/Synapse-React-Client/)

[Getting started](http://docs.synapse.org/articles/getting_started.html) with Synapse.
[Getting started](https://help.synapse.org/docs/Getting-Started.2055471150.html) with Synapse.

[Synapse.org](https://www.synapse.org/) is a client written for the Synapse platform.

Expand Down
2 changes: 1 addition & 1 deletion introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

This project helps you integrate your app with the Synapse API backend by offering a number of pre-built react components.

[Getting started](http://docs.synapse.org/articles/getting_started.html) with Synapse.
[Getting started](https://help.synapse.org/docs/Getting-Started.2055471150.html) with Synapse.

[Synapse.org](https://www.synapse.org/) is a client written for the Synapse platform.

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/lib/utils/SynapseClient.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('it works at integration level testing', () => {
).catch((error) => {
expect(error.status).toEqual(404)
expect(error.reason).toEqual(
'GET was not found. Please reference API documentation at https://docs.synapse.org/rest/',
'GET was not found. Please reference API documentation at https://rest-docs.synapse.org/rest/',
)
})
})
Expand Down
2 changes: 1 addition & 1 deletion src/lib/containers/AccountLevelBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const AccountLevelBadge: React.FunctionComponent<AccountLevelBadgeProps>
className="AccountLevelBadge__body__moreInfoLink"
target="_blank"
rel="noopener noreferrer"
href="https://docs.synapse.org/articles/accounts_certified_users_and_profile_validation.html"
href="https://help.synapse.org/docs/User-Types.2007072795.html"
>
Learn more
</a>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/containers/CardContainerLogic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default class CardContainerLogic extends React.Component<
* Grab the next page of data, pulling in 25 more rows.
*
* @param {*} queryRequest Query request as specified by
* https://docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* @memberof QueryWrapper
*/
public async getNextPageOfData(queryRequest: QueryBundleRequest) {
Expand All @@ -194,7 +194,7 @@ export default class CardContainerLogic extends React.Component<
* Execute the initial query passed into the component
*
* @param {*} queryRequest Query request as specified by
* https://docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* @memberof QueryWrapper
*/
public executeInitialQueryRequest() {
Expand Down
6 changes: 3 additions & 3 deletions src/lib/containers/QueryWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default class QueryWrapper extends React.Component<
* Execute the given query
*
* @param {*} queryRequest Query request as specified by
* https://docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* @memberof QueryWrapper
*/
public executeQueryRequest(queryRequest: QueryBundleRequest) {
Expand Down Expand Up @@ -285,7 +285,7 @@ export default class QueryWrapper extends React.Component<
* Grab the next page of data, pulling in 25 more rows.
*
* @param {*} queryRequest Query request as specified by
* https://docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* @memberof QueryWrapper
*/
public async getNextPageOfData(queryRequest: QueryBundleRequest) {
Expand All @@ -310,7 +310,7 @@ export default class QueryWrapper extends React.Component<
* Execute the initial query passed into the component
*
* @param {*} queryRequest Query request as specified by
* https://docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/table/Query.html
* @memberof QueryWrapper
*/
public executeInitialQueryRequest(
Expand Down
8 changes: 4 additions & 4 deletions src/lib/containers/SynapseHomepage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export const SynapseHomepage: React.FunctionComponent<SynapseHomepageProps> = ({
<Button
onClick={() =>
window.open(
'https://docs.synapse.org/articles/getting_started.html',
'https://help.synapse.org/docs/Getting-Started.2055471150.html',
'_blank',
'noopener',
)
Expand Down Expand Up @@ -238,7 +238,7 @@ export const SynapseHomepage: React.FunctionComponent<SynapseHomepageProps> = ({
variant="primary"
onClick={() =>
window.open(
'https://docs.synapse.org/articles/governance.html',
'https://help.synapse.org/docs/Governance-Overview.2009597114.html',
'_blank',
'noopener',
)
Expand Down Expand Up @@ -301,7 +301,7 @@ export const SynapseHomepage: React.FunctionComponent<SynapseHomepageProps> = ({
<Button
onClick={() =>
window.open(
'https://docs.synapse.org/articles/api_documentation.html',
'https://help.synapse.org/docs/API-Documentation.1985184035.html',
'_blank',
'noopener',
)
Expand Down Expand Up @@ -444,7 +444,7 @@ export const SynapseHomepage: React.FunctionComponent<SynapseHomepageProps> = ({
<Button
onClick={() =>
window.open(
'https://docs.synapse.org/articles/getting_started.html',
'https://help.synapse.org/docs/Getting-Started.2055471150.html',
'_blank',
'noopener',
)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/containers/TermsAndConditions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const tcList: tcItem[] = [
<li>Respects other viewpoints and ideas</li>
<li>Shows empathy and kindness when interacting with others</li>
</ul>
Please refer to our full <a target="_blank" href="https://docs.synapse.org/articles/governance.html#synapse-community-standards">Synapse Community Standards</a>.`,
Please refer to our full <a target="_blank" href="https://help.synapse.org/docs/Governance-Overview.2009597114.html#GovernanceOverview-SynapseCodeofConduct">Synapse Code of Conduct</a>.`,
},
{
icon: lockSvg,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ const RequestDataAccessStep2: React.FC<RequestDataAccessStep2Props> = props => {
</Form.Label><br/>
<span>This list should match those listed on your DUC.</span><br/>
<span className={"requester-label"}>All data requesters must have a validated user profile.</span>
<a href={"https://docs.synapse.org/articles/accounts_certified_users_and_profile_validation.html#validated-profile"} target={"_blank"} rel={"noreferrer"}>
<a href={"https://help.synapse.org/docs/User-Types.2007072795.html#UserAccountTiers-ValidatedUsers"} target={"_blank"} rel={"noreferrer"}>
<IconSvg
options={{
icon: 'info'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/containers/table/table-top/DownloadLoginModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ export const DownloadLoginModal: React.FunctionComponent<DownloadLoginModalProps
<p>
To find out more see&nbsp;
<a
href="https://docs.synapse.org/articles/user_profiles.html"
href="https://help.synapse.org/docs/Managing-your-account.2055405596.html"
target="_blank"
rel="noopener noreferrer"
>
User Accounts
</a>
<span> and </span>
<a
href="https://docs.synapse.org/articles/governance.html"
href="https://help.synapse.org/docs/Governance-Overview.2009597114.html"
rel="noopener noreferrer"
target="_blank"
>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/containers/table/table-top/ProgrammaticOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function ProgrammaticOptions({
instructions are available
<a
className="ProgrammaticOptions__docslink"
href="https://docs.synapse.org/articles/tutorial-download-data-portal.html#command-line"
href="https://help.synapse.org/docs/Download-Data-Programmatically-from-a-Portal.1982693983.html"
target="_blank"
rel="noopener noreferrer"
>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/containers/widgets/SynapseImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class SynapseImage extends React.Component<
const { token, synapseId } = this.props
if (synapseId) {
getEntity<FileEntity>(token, synapseId).then(
// https://docs.synapse.org/rest/org/sagebionetworks/repo/model/FileEntity.html
// https://rest-docs.synapse.org/rest/org/sagebionetworks/repo/model/FileEntity.html
(data: FileEntity) => {
const fileHandleAssociationList = [
{
Expand Down
Loading

0 comments on commit 1bd3006

Please sign in to comment.