Open module files in OpenShift Docs GitHub repository from Assemblies.

Latest Version

Version
1.0.1
Update
February 12, 2022
Size
4.49KiB
Developer
Category
Users
10
Rating
0 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

Open modules Extension

OpenShift docs repository uses symlinks for the modules folder. Therefore, when you include modules in your assemblies files, you only have to use module/.adoc` instead of the entire path. However, GitHub's default AsciiDoc preview does not honor the symlinks. As a result, when you click the link for modules in GitHub, it shows a 404 error.

When you open any assemblies, this add-on goes through all the included module links and updates the addresses to point to the correct file address for that module.

To use it:
1. Open the assembly file in GitHub.
2. Refresh the page.
3. Links for all modules will update and show a green underline.
4. Click on the update links to open the modules directly in GitHub.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Open modules", "version": "1.0.1", "description": "Open module files in OpenShift Docs GitHub repository from Assemblies.", "icons": { "48": "icons/48.png" }, "content_scripts": [ { "matches": ["*://*.github.com/openshift/openshift-docs/*"], "js": ["openmodule.js"] } ]}
Read more

Similar Extensions

icon

GitHub Code Folding Extension · Developer Tools 10 16 ★ 1.06MiB

icon

Open with Visual Studio Code - Github Extension · Productivity 10 2 ★ 47.19KiB

icon

GitHub Hardware Viewer Extension · Developer Tools 10 5 ★ 26.82KiB

icon

Bolt to GitHub Extension · Developer Tools 10 3 ★ 148KiB

icon

GitHub Directory Download Extension · Productivity 10 3 ★ 136KiB

icon

VS Code Web Extension · Developer Tools 10 2 ★ 6.65KiB

icon

Open in VSCode Extension · Developer Tools 10 4 ★ 60.87KiB

icon

GIT by Native Extensions (Adam Cockell) Extension · Productivity 10 1 ★ 600KiB

icon

Default Viewing Mode for Google Docs Extension · Productivity 10 2 ★ 13.44KiB

icon

Gitako - GitHub file tree Extension · Developer Tools 10 78 ★ 1.96MiB

icon

GitHub Web IDE Extension · Developer Tools 10 22 ★ 114KiB

icon

Open with Google Docs Extension · Productivity 10 646 ★ 204KiB

icon

GitZip for github Extension · Developer Tools 10 170 ★ 367KiB

icon

Gitd Download Manager Extension · Developer Tools 10 1 ★ 69.96KiB

icon

Github to vscode Extension · Developer Tools 10 2 ★ 15.53KiB

icon

Quick Open in VSCode Extension · Developer Tools 10 0 ★ 36.07KiB

icon

Github Open With Extension · Developer Tools 10 1 ★ 11.29KiB

icon

Open in IDX Extension · Developer Tools 10 1 ★ 594KiB

icon

Open GitHub in IDE Extension · Developer Tools 10 9 ★ 208KiB

icon

GitHub Merge Guardian Extension · Developer Tools 10 0 ★ 306KiB

icon

React Click To Component Extension · Developer Tools 10 2 ★ 39.26KiB

icon

Github1s Quickswitch Extension · Developer Tools 10 1 ★ 9.12KiB

icon

Copy GitHub Link Extension · Developer Tools 10 0 ★ 220KiB

icon

GitHub File Diff Extension · Developer Tools 10 0 ★ 354KiB