Skip to content

Commit 265aa3b

Browse files
committed
Version 0.0.16: better css
1 parent bd248bc commit 265aa3b

File tree

14 files changed

+76
-56
lines changed

14 files changed

+76
-56
lines changed
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{d as o,o as n,c as t,b as s,a as c,u as e,p as _,s as l}from"./index-aeae53b3.js";const r={class:"prosed"},p=s("h1",null,"Code block example",-1),m={class:"not-prose"},h=o({__name:"code_block",setup(d){const a=`first_name = "Bob"
1+
import{d as o,o as n,c as t,b as s,a as c,u as e,p as _,s as l}from"./index-ffdf6deb.js";const r={class:"prosed"},p=s("h1",null,"Code block example",-1),m={class:"not-prose"},h=o({__name:"code_block",setup(d){const a=`first_name = "Bob"
22
last_name = "Miller"
33
name = f"{first_name} {last_name}"
44
print("The name is", name)

docs/assets/index-8668586b.css

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/assets/index-ebed095a.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import{d as n,o,c as s,a as c,u as e,p as t,x as p}from"./index-aeae53b3.js";const r={class:"container mx-auto"},d=n({__name:"notebook",setup(l){const a=[`a=1
1+
import{d as n,o,c as s,a as c,u as e,p as t,w as p}from"./index-ffdf6deb.js";const r={class:"container mx-auto"},d=n({__name:"notebook",setup(l){const a=[`a=1
22
b=2
33
c=a+b
44
c`,"c"];return(_,m)=>(o(),s("div",r,[c(e(p),{py:e(t),namespace:"example",cells:a},null,8,["py"])]))}});export{d as default};

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<link rel="icon" href="/vuepython/favicon.ico" />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<title>Doc</title>
9-
<script type="module" crossorigin src="/vuepython/assets/index-aeae53b3.js"></script>
10-
<link rel="stylesheet" href="/vuepython/assets/index-8668586b.css">
9+
<script type="module" crossorigin src="/vuepython/assets/index-ffdf6deb.js"></script>
10+
<link rel="stylesheet" href="/vuepython/assets/index-ebed095a.css">
1111
</head>
1212

1313
<body>

docsite/components.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ declare module '@vue/runtime-core' {
99
export interface GlobalComponents {
1010
DefaultSidebar: typeof import('./src/components/sidebars/DefaultSidebar.vue')['default']
1111
'IEva:arrowBackOutline': typeof import('~icons/eva/arrow-back-outline')['default']
12+
'IFa6Brands:github': typeof import('~icons/fa6-brands/github')['default']
1213
'IFaSolid:moon': typeof import('~icons/fa-solid/moon')['default']
1314
'IFaSolid:sun': typeof import('~icons/fa-solid/sun')['default']
1415
RouterLink: typeof import('vue-router')['RouterLink']

docsite/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"usepython": "^0.0.10",
1919
"vue": "^3.2.31",
2020
"vue-router": "^4.1.5",
21-
"vuepython": "^0.0.15"
21+
"vuepython": "../../vuepython/"
2222
},
2323
"devDependencies": {
2424
"@docdundee/docnav": "^0.0.7",

docsite/src/components/TheHeader.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@
2323
<button v-for="link in links" class="border-none btn" @click="closeMenu(); $router.push(link.href)"
2424
v-html="link.name"></button>
2525
<py-status :py="py"></py-status>
26+
<div>
27+
<a class="text-2xl btn" :href="repoUrl">
28+
<i-fa6-brands:github></i-fa6-brands:github>
29+
</a>
30+
</div>
2631
<div class="px-5 text-lg cursor-pointer txt-lighter dark:txt-light" @click="toggleDarkMode()">
2732
<i-fa-solid:moon v-if="!user.isDarkMode.value"></i-fa-solid:moon>
2833
<i-fa-solid:sun v-else></i-fa-solid:sun>
@@ -47,6 +52,7 @@ import { ref, computed } from "vue";
4752
import { SwHeader, SwMobileMenu } from "@snowind/header";
4853
import { PyStatus } from "vuepython"
4954
import { user, py } from "@/state";
55+
import { repoUrl } from "@/conf";
5056
import { useRouter } from "vue-router";
5157
5258
defineProps({

0 commit comments

Comments
 (0)