Skip to content

Commit

Permalink
Merge pull request #3 from k8s-operatorhub/support/doc_fixes_repo_mig…
Browse files Browse the repository at this point in the history
…ration

Documentation migrated to new k8s-operatorhub org
  • Loading branch information
dmesser authored Jul 30, 2021
2 parents 99eff7d + 684e7f7 commit e15615c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "OperatorHub.io showcases community operators and provides information on operators and how to contribute.",
"main": "index.js",
"repository": "https://github.com/operator-framework/operatorhub.io.git",
"repository": "https://github.com/k8s-operatorhub/operatorhub.io.git",
"private": true,
"dependencies": {
"@babel/core": "^7.7.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ class UploadPackageFromGithubModal extends React.PureComponent<UploadPackageFrom


state: UploadPackageFromGithubModalState = {
repo: 'operator-framework/community-operators',
path: 'upstream-community-operators/etcd',
repo: 'k8s-operatorhub/community-operators',
path: 'operators/etcd',
branch: 'master',
validFields: {
repo: true,
Expand Down Expand Up @@ -273,7 +273,7 @@ class UploadPackageFromGithubModal extends React.PureComponent<UploadPackageFrom
onChange={this.updateField}
onBlur={this.commitField}
onKeyDown={this.onKeyDown}
placeholder="e.g. operator-framework/operatorhub.io"
placeholder="e.g. k8s-operatorhub/operatorhub.io"
value={repo}
/>
</OperatorInputWrapper>
Expand All @@ -292,7 +292,7 @@ class UploadPackageFromGithubModal extends React.PureComponent<UploadPackageFrom
onChange={this.updateField}
onBlur={this.commitField}
onKeyDown={this.onKeyDown}
placeholder="e.g. upstream-community-operators/etcd"
placeholder="e.g. operators/etcd"
value={path}
/>
</OperatorInputWrapper>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@
<h1>Enabling JavaScript is required to run this app.</h1>
<p>This app was built with JavaScript to provide a fast search experience.
The underlying data this app presents is available at <a
href="https://github.com/operator-framework/community-operators">https://github.com/operator-framework/community-operators</a>
href="https://github.com/k8s-operatorhub/community-operators">https://github.com/k8s-operatorhub/community-operators</a>
(and you can contribute new operators there).</p>
<p>The source code for this site is available at <a
href="https://github.com/operator-framework/operatorhub.io">https://github.com/operator-framework/operatorhub.io</a>.
href="https://github.com/k8s-operatorhub/operatorhub.io">https://github.com/k8s-operatorhub/operatorhub.io</a>.
</p>
</noscript>
<div id="root"></div>
Expand All @@ -133,4 +133,4 @@ <h1>Enabling JavaScript is required to run this app.</h1>
</script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion frontend/src/pages/documentation/Contribute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ const Contribute: React.FC<ContributePageProps> = ({ history, ...props }) => {
content: (
<p>
When you have completed drafting your catalog data, create a pull request with your Operator catalog data only
in the <code>upstream-community-operators</code> subdirectory. Your manifests will be checked for syntax,
in the <code>operators</code> subdirectory. Your manifests will be checked for syntax,
completeness, and functional deployment. Any enhancements will be discussed in the PR. Upon success we will
merge it and your contribution is complete.
</p>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/utils/documentationLinks.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export const operatorsFramework = 'https://github.com/operator-framework';
export const operatorsFramework = 'https://github.com/k8s-operatorhub';
export const operatorsRepo = `${operatorsFramework}/community-operators`;
export const operatorsDocumentation = `https://operator-framework.github.io/community-operators`
export const contributions = `${operatorsRepo}/tree/master/upstream-community-operators`;
export const operatorsDocumentation = `https://k8s-operatorhub.github.io/community-operators`
export const contributions = `${operatorsRepo}/tree/main/operators`;
export const operatorsRepoBeforePR = `${operatorsDocumentation}/contributing-prerequisites`;
export const operatorsRepoRequirements = `${operatorsDocumentation}/packaging-operator`;
export const operatorSdk = `${operatorsFramework}/operator-sdk`;
Expand Down

0 comments on commit e15615c

Please sign in to comment.