mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-05 03:21:40 +00:00
Add offline docs and respective CI tasks (#19)
* Add gradle javadocs task * Add task for copying resources * Add docs tab * Add online docs * Add offline docs * Change gitignore * Remove web resources * Fix .gitignore * Fix lint error * Fix lint error * Add CI tasks for offline docs * Hoepfully fix CI * Hoepfully fix CI * Fix lint checker * Checking on CI * Fix CI fetch * Fix EOF and CI repo Co-authored-by: Vatan <vatan.tezer@polonom.com>
This commit is contained in:
committed by
GitHub
parent
4cd2262acc
commit
1bbeed7d3d
@@ -25,6 +25,9 @@
|
||||
<v-tab to="settings">
|
||||
Settings
|
||||
</v-tab>
|
||||
<v-tab to="docs">
|
||||
Docs
|
||||
</v-tab>
|
||||
</v-tabs>
|
||||
</v-toolbar-items>
|
||||
</v-app-bar>
|
||||
|
||||
@@ -2,9 +2,9 @@ import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
import Camera from "./views/PipelineView";
|
||||
import Settings from "./views/SettingsView";
|
||||
import Docs from "./views/DocsView";
|
||||
Vue.use(Router);
|
||||
|
||||
|
||||
export default new Router({
|
||||
// mode: 'history',
|
||||
base: process.env.BASE_URL,
|
||||
@@ -19,5 +19,9 @@ export default new Router({
|
||||
path: '/settings',
|
||||
name: 'Settings',
|
||||
component: Settings
|
||||
}, {
|
||||
path: '/docs',
|
||||
name: 'Docs',
|
||||
component: Docs
|
||||
}]
|
||||
})
|
||||
|
||||
23
photon-client/src/views/DocsView.vue
Normal file
23
photon-client/src/views/DocsView.vue
Normal file
@@ -0,0 +1,23 @@
|
||||
<template>
|
||||
<div style="overflow:hidden;height:100%;width:100%" height="100%" width="100%">
|
||||
<iframe src="docs/index.html" frameborder="0" style="overflow:hidden;height:100%;width:100%" height="100%" width="100%"></iframe>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<!-- <iframe src="test.html" frameborder="0" style="overflow:hidden;height:100%;width:100%" height="100%" width="100%"></iframe> -->
|
||||
|
||||
<style scoped>
|
||||
.videoClass {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.videoClass img {
|
||||
padding-top: 10px;
|
||||
height: auto !important;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.colsClass {
|
||||
padding: 0 !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user