Merge pull request #1805 from PR0M3TH3AN/codex/add-docs-view-initializer-to-registry

Register docs view in view manager
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2026-01-27 08:36:25 -05:00
commit 5b240f380b
3 files changed
+4 -4

No files matched your search

-2
View File
@@ -308,6 +308,4 @@ async function initDocsView() {
}
}
initDocsView();
export { initDocsView };
+4
View File
@@ -9,6 +9,7 @@ import { ASSET_VERSION } from "../config/asset-version.js";
import { applyDesignSystemAttributes } from "./designSystem.js";
import { devLogger, userLogger } from "./utils/logger.js";
import { attachFeedInfoPopover } from "./ui/components/FeedInfoPopover.js";
import { initDocsView } from "./docsView.js";
const TRACKING_SCRIPT_PATTERN = /(?:^|\/)tracking\.js(?:$|\?)/;
@@ -147,6 +148,9 @@ export const viewInitRegistry = {
refreshApp.forceRefreshAllProfiles();
}
},
docs: async () => {
await initDocsView();
},
history: async () => {
try {
const module = await import("./historyView.js");
-2
View File
@@ -27,5 +27,3 @@
</div>
</article>
</section>
<script type="module" src="/js/docsView.js"></script>