Skip to content

Commit

Permalink
refactor: core: update repo path
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Dec 9, 2024
1 parent b90b824 commit a221e14
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 22 deletions.
15 changes: 7 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

### Editing the Content
- If you dont know MD format and looking for confluence type experince to edit from scratch or if you have the content and looking to convert it from text / html format to MarkDown(MD) or MDX format use https://holocron.so/. It also has AI support to reformat with the power of AI
- ![image](https://github.com/saviynt/developer-portal/assets/8769736/3c9d34e7-9f6e-43d0-a52b-f1b117d542ba)
- ![image](https://github.com/saviynt/developer-portal/assets/8769736/fb63fe08-8e66-47ac-a936-89ec083b30aa)
- ![image](https://github.com/saviynt/saviynt-developer-portal/assets/8769736/3c9d34e7-9f6e-43d0-a52b-f1b117d542ba)
- ![image](https://github.com/saviynt/saviynt-developer-portal/assets/8769736/fb63fe08-8e66-47ac-a936-89ec083b30aa)

### Updating the Side Navigation

Expand All @@ -39,11 +39,11 @@
### Using GitHub Editor Features

- **Editing Files:** You can edit files directly by navigating to them, clicking the pencil icon to open the editor.
- **Renaming Files:** Editing a file also lets you enter a new name for your file ![image](https://github.com/saviynt/developer-portal/assets/8769736/e59703ee-bdd3-4bb2-a46b-dbec562220db)
- **Renaming Files:** Editing a file also lets you enter a new name for your file ![image](https://github.com/saviynt/saviynt-developer-portal/assets/8769736/e59703ee-bdd3-4bb2-a46b-dbec562220db)
- **Moving Files/Creating Folders:** You can also move files to entirely new locations using just the filename field.
To navigate down into a folder, just type the name of the folder you want to move the
file into followed by /. The folder can be one that’s already part of your repository,
or it can even be a brand-new folder that doesn’t exist yet! ![image](https://github.com/saviynt/developer-portal/assets/8769736/cdef2f77-817d-4d89-8a8a-3ba127eef6df)
or it can even be a brand-new folder that doesn’t exist yet! ![image](https://github.com/saviynt/saviynt-developer-portal/assets/8769736/cdef2f77-817d-4d89-8a8a-3ba127eef6df)

- **Preview Changes:** Use the ‘Preview changes’ tab to see how the Markdown will render after the changes.
- **Committing Changes:** Write a meaningful commit message and description. This helps maintainers understand the purpose of your changes.
Expand All @@ -68,7 +68,7 @@ or it can even be a brand-new folder that doesn’t exist yet! ![image](https://

To crate a local branch, commit your change and submit a pull request, do the following:

1. Fork the Project `git clone https://github.com/saviynt/developer-portal`
1. Fork the Project `git clone https://github.com/saviynt/saviynt-developer-portal`
1. Create your Feature Branch (`git checkout -b content/MyAmazingUpdate`)
1. Commit your Changes (`git commit -m 'Add some MyAmazingUpdate'`)
1. Push to the Branch (`git push origin content/MyAmazingUpdate`)
Expand All @@ -79,16 +79,15 @@ To crate a local branch, commit your change and submit a pull request, do the fo
1. **Clone the Repository**

```
git clone https://github.com/saviynt/developer-portal.git
git clone https://github.com/saviynt/saviynt-developer-portal.git
```

2. **Navigate to the Project Directory:** After cloning, navigate to the project directory with:

```
cd developer-portal
cd saviynt-developer-portal
```


3. **Install Dependencies:** Inside the project directory, install the project dependencies with Yarn:

```
Expand Down
4 changes: 2 additions & 2 deletions blog/2024-04-12-new-phase-community-connectors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ tags: [community-connectors]
---
import GitHubComments from '@site/src/components/Github/Comments';

## [Community Connector @ Developer Portal](https://saviynt.github.io/developer-portal/community/connectors)
## [Community Connector @ Developer Portal](https://saviynt.github.io/saviynt-developer-portal/community/connectors)

In the ever-evolving landscape of software development and integration, the ability to collaborate, innovate, and swiftly adapt to changes is paramount. This is why we have made a significant shift in how we handle our community connectors: moving them from traditional forums and exchange sites to our newly established Developer Portal, which leverages Git as its backend. This transition marks a strategic shift in our approach to managing and disseminating these crucial resources. Here, we’ll explore the motivations behind this move and the benefits it brings to developers and system integrators.

Expand Down Expand Up @@ -44,4 +44,4 @@ As we move forward, we will continue to refine these processes and enhance the c

As we move forward, we will continue to refine these processes and enhance the capabilities of the Developer Portal to better serve the needs of developers and system integrators. We invite all users to join us in this new phase, to contribute, and to help shape the future of our connector ecosystem.

<GitHubComments repo="saviynt/developer-portal" issueTerm="title" label="blog" theme="github-light" />
<GitHubComments repo="saviynt/saviynt-developer-portal" issueTerm="title" label="blog" theme="github-light" />
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Export from "@theme/ApiExplorer/Export";
</span>

<Export
url={"https://github.com/saviynt/developer-portal/blob/main/static/api-specs/saviynt-rest-api-5.0-bundle.yaml"}
url={"https://github.com/saviynt/saviynt-developer-portal/blob/main/static/api-specs/saviynt-rest-api-5.0-bundle.yaml"}
proxy={undefined}
>

Expand Down
20 changes: 10 additions & 10 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const config: Config = {
baseUrl: "/",
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",
favicon: "img/saviynt_favicon.ico",
favicon: "img/saviynt_favicon.ico",
organizationName: "Saviynt",
projectName: "developer-portal",
projectName: "saviynt-developer-portal",

presets: [
[
Expand All @@ -27,7 +27,7 @@ const config: Config = {
routeBasePath: "/",
sidebarPath: "./sidebars.ts",
editUrl:
"https://github.com/saviynt/developer-portal/tree/main",
"https://github.com/saviynt/saviynt-developer-portal/tree/main",
docItemComponent: "@theme/ApiItem", // Derived from docusaurus-theme-openapi
},
blog: {
Expand All @@ -36,7 +36,7 @@ const config: Config = {
blogSidebarTitle: 'All posts',
blogSidebarCount: 'ALL',
blogTagsListComponent: '@theme/BlogTagsListPage',

// Other blog configurations...
},
theme: {
Expand Down Expand Up @@ -132,17 +132,17 @@ const config: Config = {
// options you can specify via https://github.com/francoischalifour/medium-zoom#usage
}
},

} satisfies Preset.ThemeConfig,

plugins: [
[
"docusaurus-plugin-openapi-docs",
"docusaurus-plugin-openapi-docs",
{
id: "openapi",
docsPluginId: "classic",
config: {
saviynt:{
saviynt: {
specPath: "static/api-specs/saviynt-rest-api-5.0-bundle.yaml",
proxy: "https://cors-api-18af4d883f64.herokuapp.com",
outputDir: "docs/apis/rest/reference/5.0/", // No trailing slash
Expand All @@ -153,10 +153,10 @@ const config: Config = {
hideSendButton: false,
showSchemas: true,
downloadUrl:
"https://github.com/saviynt/developer-portal/blob/main/static/api-specs/saviynt-rest-api-5.0-bundle.yaml",
"https://github.com/saviynt/saviynt-developer-portal/blob/main/static/api-specs/saviynt-rest-api-5.0-bundle.yaml",
baseUrl: "/apis/rest/5.0/reference", // Leading slash is important
} satisfies OpenApiPlugin.Options,
ecf:{
ecf: {
specPath: "static/api-specs/saviynt-ecf-api-bundle.yaml",
// proxy: "https://cors-anywhere.herokuapp.com",
outputDir: "docs/connectors/ecf/reference/1.0/", // No trailing slash
Expand All @@ -166,7 +166,7 @@ const config: Config = {
},
hideSendButton: false,
showSchemas: true,
// downloadUrl:"https://github.com/saviynt/developer-portal/blob/main/static/api-specs/saviynt-rest-api-5.0-bundle.yaml",
// downloadUrl:"https://github.com/saviynt/saviynt-developer-portal/blob/main/static/api-specs/saviynt-rest-api-5.0-bundle.yaml",
baseUrl: "/connectors/ecf/1.0/reference", // Leading slash is important
} satisfies OpenApiPlugin.Options,
} satisfies Plugin.PluginOptions,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Github/Discussions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const GiscusComponent = () => {
const script = document.createElement('script');
script.src = 'https://giscus.app/client.js';
script.async = true;
script.setAttribute('data-repo', 'saviynt/developer-portal');
script.setAttribute('data-repo', 'saviynt/saviynt-developer-portal');
script.setAttribute('data-repo-id', 'R_kgDOLnTSUg');
script.setAttribute('data-category', 'General');
script.setAttribute('data-category-id', 'DIC_kwDOLnTSUs4Cel7H');
Expand Down

0 comments on commit a221e14

Please sign in to comment.