diff --git a/ .codechina-ci.yml b/ .codechina-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..e06c01b186ff7eb3ba2a079afbb79cdc8627e075 --- /dev/null +++ b/ .codechina-ci.yml @@ -0,0 +1,17 @@ +image: swr.cn-north-4.myhuaweicloud.com/codechina/klakegg_hugo:0.75.1-ext-ubuntu + +#before_script: +# - apk add --update --no-cache git + + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +pages: + script: + - hugo + artifacts: + paths: + - public + only: + - main diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 2f2cad2e13a6388015e857cc8ba57983ce7249ce..0000000000000000000000000000000000000000 --- a/.gitattributes +++ /dev/null @@ -1,4 +0,0 @@ -* text=auto -*.js linguist-language=java -*.css linguist-language=java -*.html linguist-language=java \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 2d9f8bd65a7be68966d48c3fcedc5672b995ddbe..0000000000000000000000000000000000000000 --- a/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -node_modules -.cache -.temp -package-lock.json -yarn.lock -package.json -.DS_Store -dump.rdb -docs/.vuepress/.cache/ -docs/.vuepress/.temp/ -docs/.vuepress/dist/ diff --git a/content/docs/.vuepress/config.ts b/content/docs/.vuepress/config.ts deleted file mode 100644 index f3cf46d46c3c4cc2c6a6c1c77180efbbb44f5ddd..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/config.ts +++ /dev/null @@ -1,148 +0,0 @@ -import { docsearchPlugin } from "@vuepress/plugin-docsearch"; -import { commentPlugin } from "vuepress-plugin-comment2"; -import { pwaPlugin } from "vuepress-plugin-pwa2"; -import { defineUserConfig } from "vuepress"; -import theme from "./theme"; - -export default defineUserConfig({ - base: "/", - - dest: "./dist", - - // 如果你正在使用本插件,我们推荐在你的 VuePress 配置文件中设置 - shouldPrefetch: false, - // 自动 description - autoDescription: true, - // 精选图标 https://vuepress-theme-hope.github.io/v2/zh/guide/interface/icon.html#%E4%BD%BF%E7%94%A8 - iconAssets: "iconfont", - - head: [ - [ - "script",{}, - ` - var _hmt = _hmt || []; - (function() { - var hm = document.createElement("script"); - hm.src = "https://hm.baidu.com/hm.js?5230ac143650bf5eb3c14f3fb9b1d3ec"; - var s = document.getElementsByTagName("script")[0]; - s.parentNode.insertBefore(hm, s); - })(); - ` - ], - [ - "link", - { - rel: "stylesheet", - href: "//at.alicdn.com/t/font_3180624_7cy10l7jqqh.css", - }, - ], - ], - - locales: { - "/": { - lang: "zh-CN", - title: "Java 程序员进阶之路", - description: "一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准Java程序员进阶之路", - }, - }, - - plugins: [ - // Progressive Web app,即渐进式网络应用程序, - // 允许网站通过支持该特性的浏览器将网站作为 App 安装在对应平台上。 - pwaPlugin({ - // favicon.ico一般用于作为缩略的网站标志,它显示位于浏览器的地址栏或者在标签上,用于显示网站的logo, - favicon: "/favicon.ico", - // 如果你的站点体积不大,且配图大多为关键性说明,希望可以在离线模式下显示,建议将此项设置为 true - cachePic: true, - apple: { - icon: "/assets/icon/apple-icon-152.png", - statusBarColor: "black", - }, - msTile: { - image: "/assets/icon/ms-icon-144.png", - color: "#ffffff", - }, - manifest: { - icons: [ - { - src: "/assets/icon/chrome-mask-512.png", - sizes: "512x512", - purpose: "maskable", - type: "image/png", - }, - { - src: "/assets/icon/chrome-mask-192.png", - sizes: "192x192", - purpose: "maskable", - type: "image/png", - }, - { - src: "/assets/icon/chrome-512.png", - sizes: "512x512", - type: "image/png", - }, - { - src: "/assets/icon/chrome-192.png", - sizes: "192x192", - type: "image/png", - }, - ], - }, - }), - commentPlugin({ - provider: "Giscus", - repo :"itwanger/tobebetterjavaer-giscus", - repoId:"R_kgDOHBJssg", - category:"Announcements", - categoryId:"DIC_kwDOHBJsss4COJOx", - }), - docsearchPlugin({ - appId: "O566AMFNJH", - apiKey: "d9aebea8bd1a4f1e01201464bbab255f", - indexName: "tobebetterjavaer", - locales: { - "/": { - placeholder: "搜索文档", - translations: { - button: { - buttonText: "搜索文档", - buttonAriaLabel: "搜索文档", - }, - modal: { - searchBox: { - resetButtonTitle: "清除查询条件", - resetButtonAriaLabel: "清除查询条件", - cancelButtonText: "取消", - cancelButtonAriaLabel: "取消", - }, - startScreen: { - recentSearchesTitle: "搜索历史", - noRecentSearchesText: "没有搜索历史", - saveRecentSearchButtonTitle: "保存至搜索历史", - removeRecentSearchButtonTitle: "从搜索历史中移除", - favoriteSearchesTitle: "收藏", - removeFavoriteSearchButtonTitle: "从收藏中移除", - }, - errorScreen: { - titleText: "无法获取结果", - helpText: "你可能需要检查你的网络连接", - }, - footer: { - selectText: "选择", - navigateText: "切换", - closeText: "关闭", - searchByText: "搜索提供者", - }, - noResultsScreen: { - noResultsText: "无法找到相关结果", - suggestedQueryText: "你可以尝试查询", - }, - }, - }, - }, - }, - }), - ], - - theme, -}); diff --git a/content/docs/.vuepress/navbar.ts b/content/docs/.vuepress/navbar.ts deleted file mode 100644 index 7116d3b3a942e3d574cf0ba8725a95e6aee3f979..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/navbar.ts +++ /dev/null @@ -1,60 +0,0 @@ -import { navbar } from "vuepress-theme-hope"; - -export default navbar([ - { - text: "博客", - icon: "gaishu", - link: "/blog.md" - }, - { - text: "进阶之路", - icon: "lujing", - link: "/home.md" - }, - { - text: "知识星球", - icon: "Artboard", - link: "/zhishixingqiu/" - }, - { - text: "学习路线", - icon: "luxian", - link: "/xuexiluxian/" - }, - { - text: "珍藏资源", - icon: "youzhi", - children: [ - { - text: "电子书下载", - icon: "java", - link: "/download/java.md" - }, - { - text: "面渣逆袭", - icon: "zhunbei", - link: "/sidebar/sanfene/nixi.md" - }, - { - text: "优质文章", - icon: "youzhi", - link: "/nice-article/readme.md" - }, - { - text: "网络日志", - icon: "rizhi", - link: "/download/history.md" - }, - { - text: "破解合集", - icon: "zhongyaotishi", - link: "/nice-article/itmind/" - }, - ], - }, - { - text: "B站视频", - icon: "bzhan", - link: "https://space.bilibili.com/513340480" - }, -]); diff --git a/content/docs/.vuepress/public/assets/icon/apple-icon-152.png b/content/docs/.vuepress/public/assets/icon/apple-icon-152.png deleted file mode 100644 index 4e9a7f7afb8060473d34b2935e8fb6437b38ec2a..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/apple-icon-152.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/chrome-192.png b/content/docs/.vuepress/public/assets/icon/chrome-192.png deleted file mode 100644 index 51eac81bf042654e0426d68fa62962ca1080cd12..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/chrome-192.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/chrome-512.png b/content/docs/.vuepress/public/assets/icon/chrome-512.png deleted file mode 100644 index c4c8300729d0e7986c9e454128ceead37f27c3a4..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/chrome-512.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/chrome-mask-192.png b/content/docs/.vuepress/public/assets/icon/chrome-mask-192.png deleted file mode 100644 index 51eac81bf042654e0426d68fa62962ca1080cd12..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/chrome-mask-192.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/chrome-mask-512.png b/content/docs/.vuepress/public/assets/icon/chrome-mask-512.png deleted file mode 100644 index c4c8300729d0e7986c9e454128ceead37f27c3a4..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/chrome-mask-512.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/itwanger-282.png b/content/docs/.vuepress/public/assets/icon/itwanger-282.png deleted file mode 100644 index 834a25cca55dfa92190b1f12ccb911a787236ebd..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/itwanger-282.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/itwanger-maskable.png b/content/docs/.vuepress/public/assets/icon/itwanger-maskable.png deleted file mode 100644 index b18a7cb48435700f26b2770391adab89e2038317..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/itwanger-maskable.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/itwanger-monochrome.png b/content/docs/.vuepress/public/assets/icon/itwanger-monochrome.png deleted file mode 100644 index b18a7cb48435700f26b2770391adab89e2038317..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/itwanger-monochrome.png and /dev/null differ diff --git a/content/docs/.vuepress/public/assets/icon/ms-icon-144.png b/content/docs/.vuepress/public/assets/icon/ms-icon-144.png deleted file mode 100644 index 7a0824506ebe87801c13ac80c12ca5559653fbc7..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/assets/icon/ms-icon-144.png and /dev/null differ diff --git a/content/docs/.vuepress/public/favicon.ico b/content/docs/.vuepress/public/favicon.ico deleted file mode 100755 index 134f41c44914346280d3e16c01e6e76bdea03a0c..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/favicon.ico and /dev/null differ diff --git a/content/docs/.vuepress/public/itwanger.png b/content/docs/.vuepress/public/itwanger.png deleted file mode 100644 index 1595fdd94ba18a0a29fdbc808f3607ec12f2875b..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/itwanger.png and /dev/null differ diff --git a/content/docs/.vuepress/public/itwanger.svg b/content/docs/.vuepress/public/itwanger.svg deleted file mode 100644 index b7086153b6bc41d86f66c3e6c033ce00b4e02bfd..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/public/itwanger.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/content/docs/.vuepress/public/logo.png b/content/docs/.vuepress/public/logo.png deleted file mode 100755 index 134f41c44914346280d3e16c01e6e76bdea03a0c..0000000000000000000000000000000000000000 Binary files a/content/docs/.vuepress/public/logo.png and /dev/null differ diff --git a/content/docs/.vuepress/public/logo.svg b/content/docs/.vuepress/public/logo.svg deleted file mode 100644 index 42405a8e1411c30c1c0d36970b021b67d28e1e10..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/public/logo.svg +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - diff --git a/content/docs/.vuepress/sidebar.ts b/content/docs/.vuepress/sidebar.ts deleted file mode 100644 index 507cd9ad3beda0e263d473e2ca0a4ae4c4d29a3b..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/sidebar.ts +++ /dev/null @@ -1,888 +0,0 @@ -import { sidebar } from "vuepress-theme-hope"; -export const sidebarConfig = sidebar({ - "/zhishixingqiu/": ["readme.md","map","may","june","july"], - "/nice-article/itmind/": [ - "readme.md", - "ideapxideajhideayjjhmideazxjhzcmpjjcyjjhqcyx", - "yigkymxczideatsyqdffblwxjcywdxbxt", - "ideapjazjczxjhmzcmyjjhcxgxz", - "ideajhmideajhmideapxideajhmideazcmideayjjhm", - "navicatmacyjpx", - "navicatzxbwindowspjbjc", - "typorayjpx", - "typoramaczwpjbhyjjdkptmarkdownbjqmksimacsocom", - "xshellazpjbjcxshellpxffxbxt", - "pycharmjhpxmazjcnyrgxxbxt", - ], - "/xuexiluxian/": [ - { - text: "Java学习路线", - prefix: "java/", - collapsable: true, - children: [ - "yitiaolong", - "thread", - "jvm", - ], - }, - "c.md", - "ccc.md", - "python", - "go", - "os", - "qianduan", - "algorithm", - "lanqiaobei", - "bigdata", - ], - "/sidebar/sanfene/": [ - "javase.md", - "collection.md", - "javathread.md", - "jvm.md", - "spring.md", - "redis.md", - "mybatis.md", - "mysql.md", - "os.md", - "network.md", - "rocketmq.md", - ], - // 必须放在最后面 - "/": [ - { - text: "一、前言", - link: "home.md", - }, - { - text: "二、Java核心", - collapsable: true, - children: [ - { - prefix: "overview/", - text: "2.1 Java概述", - collapsable: true, - children: [ - "what-is-java", - "java-history", - "java-can-do-what", - "jdk-install-config", - "IDEA-install-config", - "hello-world", - ], - }, - { - text: "2.2 Java语法基础", - collapsable: true, - children: [ - "basic-extra-meal/48-keywords", - "basic-extra-meal/java-naming", - "basic-grammar/javadoc", - "basic-grammar/basic-data-type", - "basic-grammar/operator", - "basic-grammar/flow-control", - ], - }, - { - text: "2.3 数组&字符串", - collapsable: true, - children: [ - "array/array", - "array/print", - "string/immutable", - "string/constant-pool", - "string/intern", - "string/equals", - "string/join", - "string/split", - ], - }, - { - text: "2.4 面向对象编程", - collapsable: true, - children: [ - "oo/object-class", - "oo/package", - "oo/var", - "oo/method", - "oo/construct", - "oo/access-control", - "oo/code-init", - "oo/abstract", - "oo/interface", - "oo/abstract-vs-interface", - "oo/inner-class", - "oo/this-super", - "basic-extra-meal/override-overload", - "oo/static", - "oo/final", - "oo/encapsulation", - "oo/extends-bigsai", - "oo/polymorphism", - - ], - }, - { - text: "2.5 集合框架(容器)", - collapsable: true, - children: [ - - "collection/gailan", - "collection/arraylist", - "collection/linkedlist", - "collection/list-war-2", - "collection/iterator-iterable", - "collection/fail-fast", - "collection/hashmap", - "collection/linkedhashmap", - "collection/treemap", - "collection/arraydeque", - "collection/PriorityQueue", - "collection/WeakHashMap", - - ], - }, - { - text: "2.6 IO", - collapsable: true, - prefix:"io/", - children: [ - { - text: "概览", - link: "shangtou", - }, - { - text: "BIO、NIO和AIO", - link: "BIONIOAIO", - }, - ], - }, - { - text: "2.7 异常处理", - collapsable: true, - prefix:"exception/", - children: [ - { - text: "概览", - link: "gailan", - }, - { - text: "try-with-resouces", - link: "try-with-resouces", - }, - { - text: "最佳实践", - link: "shijian", - }, - { - text: "NullPointerException", - link: "npe", - }, - ], - }, - { - text: "2.8 常用工具类", - collapsable: true, - prefix:"common-tool/", - children: [ - { - text: "Arrays", - link: "arrays", - }, - { - text: "Collections", - link: "collections", - }, - { - text: "Hutool", - link: "hutool", - }, - { - text: "Guava", - link: "guava", - }, - ], - }, - { - text: "2.9 Java新特性", - prefix: "java8/", - collapsable: true, - children: [ - { - text: "Stream", - link: "stream", - }, - { - text: "Optional", - link: "optional", - }, - { - text: "Lambda", - link: "Lambda", - }, - ], - }, - { - text: "2.10 Java重要知识点", - prefix:"basic-extra-meal/", - collapsable: true, - children: [ - { - text: "Unicode和UTF-8编码", - link: "java-unicode", - }, - { - text: "new Integer和Integer.valueOf区别", - link: "int-cache", - }, - { - text: "拆箱和装箱", - link: "box", - }, - { - text: "浅拷贝与深拷贝", - link: "deep-copy", - }, - { - text: "深入理解Java中的hashCode方法", - link: "hashcode", - }, - { - text: "重写equals时为什么要重写hashCode", - link: "equals-hashcode", - }, - { - text: "重写时应当遵守的11条规则", - link: "Overriding", - }, - { - text: "Java到底是值传递还是引用传递", - link: "pass-by-value", - }, - { - text: "Java为什么不能实现真正的泛型", - link: "true-generic", - }, - { - text: "Comparable和Comparator的区别", - link: "comparable-omparator", - }, - { - text: "JDK9中String为什么由char[]改成byte[]", - link: "jdk9-char-byte-string", - }, - { - text: "JDK源码无限循环用for(;;)还是while(true)", - link: "jdk-while-for-wuxian-xunhuan", - }, - { - text: "先有Class还是先有Object", - link: "class-object", - }, - { - text: "instanceof关键字是如何实现的", - link: "instanceof-jvm", - }, - { - text: "instanceof", - link: "oo/instanceof", - }, - { - text: "不可变对象", - link: "basic-extra-meal/immutable", - }, - { - text: "可变参数", - link: "basic-extra-meal/varables", - }, - { - text: "泛型", - link: "basic-extra-meal/generic", - }, - { - text: "注解", - link: "basic-extra-meal/annotation", - }, - { - text: "枚举", - link: "basic-extra-meal/enum", - }, - { - text: "反射", - link: "basic-extra-meal/fanshe", - }, - ], - }, - { - text: "2.11 并发编程", - collapsable: true, - prefix: "thread/", - children: [ - "wangzhe-thread", - { - text: "线程的6种状态及切换", - link: "thread-state-and-method", - }, - { - text: "线程组和线程优先级", - link: "thread-group-and-thread-priority", - }, - { - text: "进程与线程的区别", - link: "why-need-thread", - }, - { - text: "并发编程带来了哪些问题", - link: "thread-bring-some-problem", - }, - { - text: "Java内存模型", - link: "jmm", - }, - { - text: "volatile", - link: "volatile", - }, - { - text: "synchronized", - link: "synchronized", - }, - { - text: "CAS的原理", - link: "cas", - }, - { - text: "AQS详解", - link: "aqs", - }, - { - text: "锁", - link: "lock", - }, - { - text: "重入锁ReentrantLock", - link: "reentrantLock", - }, - { - text: "读写锁ReentrantReadWriteLock", - link: "ReentrantReadWriteLock", - }, - { - text: "线程协作类Condition", - link: "condition", - }, - { - text: "线程阻塞唤醒类LockSupport", - link: "LockSupport", - }, - { - text: "并发集合容器", - link: "map", - }, - { - text: "ConcurrentHashMap", - link: "ConcurrentHashMap", - }, - { - text: "ConcurrentLinkedQueue", - link: "ConcurrentLinkedQueue", - }, - { - text: "CopyOnWriteArrayList", - link: "CopyOnWriteArrayList", - }, - { - text: "ThreadLocal", - link: "ThreadLocal", - }, - { - text: "BlockingQueue", - link: "BlockingQueue", - }, - { - text: "线程池", - link: "pool", - }, - { - text: "计划任务", - link: "ScheduledThreadPoolExecutor", - }, - { - text: "原子操作类", - link: "atomic", - }, - { - text: "通信工具类CountDownLatch", - link: "CountDownLatch", - }, - { - text: "Fork/Join框架", - link: "fork-join", - }, - { - text: "生产者-消费者模式", - link: "shengchanzhe-xiaofeizhe", - }, - - ], - }, - { - text: "2.12 JVM", - prefix: "jvm/", - collapsable: true, - children: [ - { - text: "JVM到底是什么?", - link: "what-is-jvm", - }, - { - text: "JVM到底是如何运行Java代码的", - link: "how-run-java-code", - }, - { - text: "类加载机制", - link: "class-load", - }, - { - text: "详解Java的类文件结构", - link: "class-file-jiegou", - }, - { - text: "从javap的角度轻松看懂字节码", - link: "bytecode", - }, - { - text: "字节码指令详解", - link: "zijiema-zhiling", - }, - { - text: "虚拟机是如何执行字节码指令的", - link: "how-jvm-run-zijiema-zhiling", - }, - { - text: "HSDB(Hotspot Debugger)", - link: "hsdb", - }, - { - text: "史上最通俗易懂的ASM教程", - link: "asm", - }, - { - text: "自己编译JDK", - link: "compile-jdk", - }, - { - text: "深入理解JVM的内存结构", - link: "neicun-jiegou", - }, - { - text: "Java 创建的对象到底放在哪", - link: "whereis-the-object", - }, - { - text: "从头到尾说一次Java垃圾回收", - link: "gc", - }, - { - text: "图解Java的垃圾回收机制", - link: "tujie-gc", - }, - { - text: "Java问题诊断和排查工具", - link: "problem-tools", - }, - { - text: "JIT原理解析及实践", - link: "jit", - }, - { - text: "内存溢出排查优化实战", - link: "oom", - }, - { - text: "CPU 100% 排查优化实践", - link: "cpu-percent-100", - }, - { - text: "JVM 核心知识点总结", - link: "zongjie", - }, - - ], - }, - ], - }, - { - text: "三、Java企业级开发", - collapsable: true, - children: [ - { - text: "3.1 开发工具", - collapsable: true, - children: [ - "maven/maven.md", - "git/git-qiyuan.md", - "nginx/nginx.md", - ], - }, - { - text: "3.2 IDE/编辑器", - collapsable: true, - children: [ - "ide/4-debug-skill.md", - "ide/xechat.md", - ], - }, - { - text: "3.3 Spring", - collapsable: true, - children: [ - { - text: "Spring AOP扫盲", - link: "springboot/aop-log", - }, - { - text: "Spring IoC扫盲", - link: "springboot/ioc", - }, - ], - }, - { - text: "3.4 SpringBoot", - collapsable: true, - children: [ - { - text: "搭建第一个Spring Boot项目", - link: "springboot/initializr", - }, - { - text: "整合MySQL和Druid", - link: "springboot/mysql-druid", - }, - { - text: "整合JPA", - link: "springboot/jpa", - }, - { - text: "整合Thymeleaf", - link: "springboot/thymeleaf", - }, - { - text: "开启事务支持", - link: "springboot/transaction", - }, - { - text: "过滤器、拦截器、监听器", - link: "springboot/Filter-Interceptor-Listener", - }, - { - text: "整合Redis实现缓存", - link: "redis/redis-springboot", - }, - { - text: "整合Logback", - link: "springboot/logback" - }, - { - text: "整合Swagger-UI", - link: "springboot/swagger" - }, - { - text: "整合Knife4j", - link: "gongju/knife4j" - }, - { - text: "整合SpringTask", - link: "springboot/springtask" - }, - { - text: "整合MyBatis-Plus AutoGenerator", - link: "kaiyuan/auto-generator", - }, - "springboot/quartz", - "springboot/mybatis", - "springboot/docker", - "springboot/macos-codingmore-run", - "springboot/windows-codingmore-run", - "springboot/linux-codingmore-run", - "springboot/validator", - ], - }, - { - text: "3.5 Netty", - collapsable: true, - children: [ - "netty/rumen", - ], - }, - { - text: "3.6 辅助工具", - collapsable: true, - children: [ - "gongju/choco", - "gongju/brew", - "gongju/tabby", - "gongju/warp", - "gongju/windterm", - "gongju/chiner", - "gongju/DBeaver", - ], - }, - { - text: "3.7 开源轮子", - collapsable: true, - children: [ - { - text: "HTTP调用框架Forest", - link: "gongju/forest", - }, - { - text: "单元测试Junit", - link: "gongju/junit", - }, - { - text: "阿里开源的fastjson", - link: "gongju/fastjson", - }, - { - text: "谷歌开源的Gson", - link: "gongju/gson", - }, - { - text: "SpringBoot内置的Jackson", - link: "gongju/jackson", - }, - { - text: "日志框架的鼻祖Log4j", - link: "gongju/log4j", - }, - { - text: "高性能日志框架Log4j2", - link: "gongju/log4j2", - }, - { - text: "Spring Boot内置的Logback", - link: "gongju/logback", - }, - { - text: "日志门面SLF4J", - link: "gongju/slf4j", - }, - - ], - }, - { - text: "3.8 分布式", - collapsable: true, - children: [ - { - text: "Elasticsearch入门", - link: "elasticsearch/rumen" - }, - { - text: "聊聊ZooKeeper", - link: "zookeeper/jibenjieshao" - }, - { - text: "聊聊微服务网关", - link: "microservice/api-wangguan" - }, - ], - }, - { - text: "3.9 消息队列", - collapsable: true, - children: [ - { - text: "RabbitMQ入门", - link: "mq/rabbitmq-rumen" - }, - { - text: "如何保障消息不丢失", - link: "mq/100-budiushi" - }, - ], - }, - ], - }, - { - text: "四、数据库", - collapsable: true, - children: [ - { - text: "MySQL", - collapsable: true, - children: [ - { - text: "MySQL和Redis数据一致性", - link: "mysql/redis-shuju-yizhixing" - }, - ], - }, - { - text: "Redis", - collapsable: true, - children: [ - { - text: "Redis入门", - link: "redis/rumen" - }, - { - text: "缓存雪崩、穿透、击穿", - link: "redis/xuebeng-chuantou-jichuan" - }, - ], - }, - { - text: "MongoDB", - collapsable: true, - children: [ - "mongodb/rumen", - ], - }, - ], - }, - { - text: "五、计算机基础", - collapsable: true, - prefix: "cs/", - children: [ - { - text: "计算机操作系统", - link: "os", - }, - { - text: "计算机网络", - link: "wangluo", - }, - ], - }, - { - text: "六、求职面试", - collapsable: true, - children: [ - { - text: "面试题集合", - collapsable: true, - children: [ - "baguwen/java-basic-34", - "collection/hashmap-interview", - "mianjing/redis12question", - "nginx/40-interview" - ], - }, - - { - text: "背诵版八股文", - collapsable: true, - children: [ - "baguwen/java-basic", - "baguwen/java-thread", - "baguwen/jvm", - "sidebar/herongwei/mysql", - ], - }, - { - text: "优质面经", - collapsable: true, - children: [ - "mianjing/shanganaliyun", - "nice-article/weixin/shezynmjfxhelmtttjddd", - "nice-article/weixin/xuelybdzheloffer", - "nice-article/weixin/huanxgzl", - - ], - }, - { - text: "面试准备", - collapsable: true, - children: [ - "nice-article/weixin/zijxjjdyfqzgl", - "nice-article/weixin/miansmtgl", - "nice-article/weixin/luoczbmsddyb", - "nice-article/weixin/youdxzhhmjzlycfx", - "nice-article/weixin/zheisnylzldhzd", - ], - }, - { - text: "城市选择", - prefix: "cityselect/", - collapsable: true, - children: [ - "beijing", - "chengdu", - "guangzhou", - "hangzhou", - "nanjing", - "qingdao", - "shenzhen", - "suzhou", - "xian", - "zhengzhou", - "jinan", - ], - }, - ], - }, - { - text: "七、学习资源", - collapsable: true, - children: [ - "pdf/programmer-111.md", - "pdf/java-concurrent.md", - "pdf/github-java-jiaocheng-115-star.md", - "pdf/shejimoshi.md", - "pdf/java-leetcode.md", - "pdf/ali-java-shouce.md", - "pdf/yuanyifeng-c-language.md", - "pdf/bat-shuati.md", - "pdf/os.md", - "pdf/progit.md", - "pdf/jianli.md", - ], - }, - { - text: "八、学习建议", - collapsable: true, - children: [ - "xuexijianyi/read-csapp", - "xuexijianyi/electron-information-engineering", - "xuexijianyi/gaokao-zhiyuan-cs", - "xuexijianyi/test-programmer-read-books", - "xuexijianyi/xiaozhao-java-should-master", - "xuexijianyi/benksrhcnjrtxaldyldhlwgs", - "xuexijianyi/chengxuyuan-fuye", - "xuexijianyi/ruhzfzdgzzcxcz", - "xuexijianyi/gaobingfa-jingyan-hsmcomputer", - "xuexijianyi/hr-xinzi", - ], - }, - { - text: "九、知识库搭建", - collapsable: true, - prefix: "szjy/", - children: [ - "buy-cloud-server", - "install-baota-mianban", - "buy-domain", - "record-domain", - "https-domain", - ], - }, - { - text: "十、联系作者", - collapsable: true, - prefix: "about-the-author/", - children: [ - "bzhan-10wan", - "zhihu-1000wan", - "csdn-1000wan", - "readme.md", - - ], - }, - ], -}); - - - diff --git a/content/docs/.vuepress/styles/config.scss b/content/docs/.vuepress/styles/config.scss deleted file mode 100644 index a1b7f5ba106dcb5fe38e2ba119dc5dca90a59d7c..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/styles/config.scss +++ /dev/null @@ -1,2 +0,0 @@ -$code-light-theme: "one-light"; -$code-dark-theme: "one-dark"; \ No newline at end of file diff --git a/content/docs/.vuepress/styles/index.scss b/content/docs/.vuepress/styles/index.scss deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/content/docs/.vuepress/styles/palette.scss b/content/docs/.vuepress/styles/palette.scss deleted file mode 100644 index d642be5597779f7916caeb2009e206786e7e76e9..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/styles/palette.scss +++ /dev/null @@ -1,4 +0,0 @@ -// colors -$theme-color: #5b86ff; -$sidebar-mobile-width: 16rem; -$sidebar-width: 22rem; \ No newline at end of file diff --git a/content/docs/.vuepress/theme.ts b/content/docs/.vuepress/theme.ts deleted file mode 100644 index 8dd4b25f2f6b74e27677089cf52a342371e8f745..0000000000000000000000000000000000000000 --- a/content/docs/.vuepress/theme.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { hopeTheme } from "vuepress-theme-hope"; -import navbar from "./navbar"; -import { sidebarConfig } from "./sidebar"; - -export default hopeTheme({ - hostname: "https://tobebetterjavaer.com", - - encrypt: { - config: { - // 这只会加密 config/page.html - "/nice-article/itmind/xshellazpjbjcxshellpxffxbxt.html": ["1110", "5210"], - "/nice-article/itmind/ideapjazjczxjhmzcmyjjhcxgxz.html": ["1110", "5210"], - }, - }, - - author: { - name: "沉默王二", - url: "/about-the-author/", - }, - - encryptLocales: { - /** - * Encrypt title - */ - title: "初次访问,人机识别活动下筋骨", - placeholder: "微信搜‘沉默王二’回复‘密码’获取口令", - - /** - * Passwrod error hint - */ - errorHint: "哈哈,别调戏人家啦,按规则来嘛", - }, - - iconPrefix: "iconfont icon-", - - logo: "http://cdn.tobebetterjavaer.com/tobebetterjavaer/images/logo-02.png", - - repo: "https://github.com/itwanger/toBeBetterJavaer", - - docsDir: "docs", - - // 以前的默认仓库分支 - docsBranch: "master", - - // 纯净模式 - // pure: true, - - darkmode: "switch", - - // navbar - navbar: navbar, - - // sidebar - sidebar: sidebarConfig, - - footer: '豫ICP备2021038026号-1' - +'' - +'' - +'豫公网安备 41030502000411号' - +'', - - displayFooter: true, - - pageInfo: ["Author", "Original", "Date", "Category", "Tag", "ReadingTime"], - - // page meta - metaLocales: { - editLink: "在 GitHub 上编辑此页", - }, - - blog: { - intro: "/about-the-author/", - sidebarDisplay: "mobile", - // 博主头像 - avatar: "/assets/icon/itwanger-282.png", - // 圆角 - roundAvatar: true, - // 座右铭 - description:"没有什么使我停留——除了目的,纵然岸旁有玫瑰、有绿荫、有宁静的港湾,我是不系之舟。", - medias: { - Zhihu: "https://www.zhihu.com/people/cmower", - Github: "https://github.com/itwanger", - Gitee: "https://gitee.com/itwanger", - }, - - }, - - plugins: { - // 启用博客功能 - blog: true, - // 启用博客自动摘要 - blog: { - autoExcerpt: true, - }, - - activeHeaderLinks: true, - - mdEnhance: { - // 仅将此选项用于体验或测试。 - align: true, - presentation: { - plugins: ["highlight", "math", "search", "notes", "zoom"], - }, - }, - }, -}); diff --git a/themes/ananke/package.json b/themes/ananke/package.json new file mode 100755 index 0000000000000000000000000000000000000000..b0f3d878d42150e81237093d8699caf6794adc8a --- /dev/null +++ b/themes/ananke/package.json @@ -0,0 +1,42 @@ +{ + "author": "budparr", + "bugs": { + "url": "https://github.com/theNewDynamic/gohugo-theme-ananke/issues" + }, + "comments": { + "dependencies": {}, + "devDependencies": { + "auto-changelog": "project", + "cssnano": "project", + "postcss-cli": "project", + "postcss-cssnext": "project", + "tachyons": "project" + } + }, + "dependencies": {}, + "description": "Theme Ananke", + "devDependencies": { + "auto-changelog": "^1.16.1", + "cssnano": "^3.10.0", + "postcss-cli": "^7.1.0", + "postcss-cssnext": "^2.10.0", + "tachyons": "^4.9.1" + }, + "homepage": "https://github.com/theNewDynamic/gohugo-theme-ananke#readme", + "keywords": [ + "hugo", + "gohugo" + ], + "license": "MIT", + "main": "index.js", + "name": "gohugo-theme-ananke", + "repository": { + "type": "git", + "url": "git+https://github.com/theNewDynamic/gohugo-theme-ananke.git" + }, + "scripts": { + "version": "auto-changelog -p --template keepachangelog --commit-limit 0 \u0026\u0026 git add CHANGELOG.md", + "deploy": " cd exampleSite; hugo;" + }, + "version": "2.7.0" +} \ No newline at end of file