Skip to content

Commit

Permalink
Updated Documentation in /docs folder (#2439)
Browse files Browse the repository at this point in the history
* Initial updates

Signed-off-by: Andre Wanlin <[email protected]>

* Further updates

Signed-off-by: Andre Wanlin <[email protected]>

* Improved group owner code

Signed-off-by: Andre Wanlin <[email protected]>

---------

Signed-off-by: Andre Wanlin <[email protected]>
  • Loading branch information
awanlin authored Jan 3, 2025
1 parent c9e8956 commit 184ec6d
Show file tree
Hide file tree
Showing 8 changed files with 354 additions and 276 deletions.
202 changes: 202 additions & 0 deletions docs/README.md

Large diffs are not rendered by default.

171 changes: 96 additions & 75 deletions docs/compatibility/compatibility.md

Large diffs are not rendered by default.

23 changes: 21 additions & 2 deletions docs/compatibility/new-backend-system.md

Large diffs are not rendered by default.

40 changes: 27 additions & 13 deletions docs/compatibility/new-frontend-system.md

Large diffs are not rendered by default.

180 changes: 0 additions & 180 deletions docs/index.md

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/list-backend-feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async function main(args) {
backendFeatureReport.package = pkg.packageJson.name;
backendFeatureReport.role = pkgRole;
backendFeatureReport.readme = `[README](${pkg.packageJson.repository.url}/blob/master/${pkg.packageJson.repository.directory}/README.md)`;
const apiReportPath = join(pkg.dir, 'api-report.md');
const apiReportPath = join(pkg.dir, 'report.api.md');
const apiReport = (await fs.readFile(apiReportPath)).toString();
if (
apiReport.includes(BACKEND_FEATURE) ||
Expand All @@ -70,7 +70,7 @@ async function main(args) {
backendFeatureReport.alpha = false;
}

const apiReportAlphaPath = join(pkg.dir, 'api-report-alpha.md');
const apiReportAlphaPath = join(pkg.dir, 'report-alpha.api.md');
if (fs.existsSync(apiReportAlphaPath)) {
const apiReportAlpha = (
await fs.readFile(apiReportAlphaPath)
Expand Down
4 changes: 2 additions & 2 deletions scripts/list-frontend-feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ async function main(args) {
frontendFeatureReport.package = pkg.packageJson.name;
frontendFeatureReport.role = pkgRole;
frontendFeatureReport.readme = `[README](${pkg.packageJson.repository.url}/blob/master/${pkg.packageJson.repository.directory}/README.md)`;
const apiReportPath = join(pkg.dir, 'api-report.md');
const apiReportPath = join(pkg.dir, 'report.api.md');
const apiReport = (await fs.readFile(apiReportPath)).toString();
if (apiReport.includes(BACKSTAGE_PLUGIN)) {
frontendFeatureReport.supported = true;
frontendFeatureReport.alpha = false;
}

const apiReportAlphaPath = join(pkg.dir, 'api-report-alpha.md');
const apiReportAlphaPath = join(pkg.dir, 'report-alpha.api.md');
if (fs.existsSync(apiReportAlphaPath)) {
const apiReportAlpha = (
await fs.readFile(apiReportAlphaPath)
Expand Down
6 changes: 4 additions & 2 deletions scripts/list-workspaces-for-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,12 @@ async function main(args) {
o => o !== '@backstage/community-plugins-maintainers',
);
filteredOwners.forEach((owner, index) => {
if (owner === '@backstage/sda-se-reviewers') {
if (owner.includes('/')) {
const org = owner.substring(1, owner.indexOf('/'));
const team = owner.substring(owner.indexOf('/') + 1);
filteredOwners[
index
] = `[@backstage/sda-se-reviewers](https://github.com/orgs/backstage/teams/sda-se-reviewers)`;
] = `[${owner}](https://github.com/orgs/${org}/teams/${team})`;
} else {
filteredOwners[
index
Expand Down

0 comments on commit 184ec6d

Please sign in to comment.