瀏覽代碼

update logo icon and remove blog

Andrey Konstantinov 3 年之前
父節點
當前提交
35053ed6e3

+ 0 - 11
docs/blog/2019-05-28-hola.md

@@ -1,11 +0,0 @@
----
-id: hola
-title: Hola
-author: Gao Wei
-author_title: Docusaurus Core Team
-author_url: https://github.com/wgao19
-author_image_url: https://avatars1.githubusercontent.com/u/2055384?v=4
-tags: [hola, docusaurus]
----
-
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

+ 0 - 17
docs/blog/2019-05-29-hello-world.md

@@ -1,17 +0,0 @@
----
-id: hello-world
-title: Hello
-author: Endilie Yacop Sucipto
-author_title: Maintainer of Docusaurus
-author_url: https://github.com/endiliey
-author_image_url: https://avatars1.githubusercontent.com/u/17883920?s=460&v=4
-tags: [hello, docusaurus]
----
-
-Welcome to this blog. This blog is created with [**Docusaurus 2 alpha**](https://v2.docusaurus.io/).
-
-<!--truncate-->
-
-This is a test post.
-
-A whole bunch of other information.

+ 0 - 13
docs/blog/2019-05-30-welcome.md

@@ -1,13 +0,0 @@
----
-id: welcome
-title: Welcome
-author: Yangshun Tay
-author_title: Front End Engineer @ Facebook
-author_url: https://github.com/yangshun
-author_image_url: https://avatars0.githubusercontent.com/u/1315101?s=400&v=4
-tags: [facebook, hello, docusaurus]
----
-
-Blog features are powered by the blog plugin. Simply add files to the `blog` directory. It supports tags as well!
-
-Delete the whole directory if you don't want the blog features. As simple as that!

+ 13 - 23
docs/docusaurus.config.js

@@ -3,14 +3,14 @@ module.exports = {
   tagline: 'Management of source code quality is possible',
   url: 'https://metrixplusplus.github.io/',
   baseUrl: '/',
-  favicon: 'img/favicon.ico',
+  favicon: 'img/favicon.png',
   projectName: 'metrixplusplus', // Usually your repo name.
   themeConfig: {
     navbar: {
       title: 'Metrix++',
       logo: {
         alt: 'Metrix++',
-        src: 'img/logo.svg',
+        src: 'img/favicon.png',
       },
       links: [
         {
@@ -19,7 +19,6 @@ module.exports = {
           label: 'Docs',
           position: 'left',
         },
-        {to: 'blog', label: 'Blog', position: 'left'},
         {
           href: 'https://github.com/metrixplusplus/metrixplusplus',
           label: 'GitHub',
@@ -47,21 +46,8 @@ module.exports = {
           title: 'Community',
           items: [
             {
-              label: 'Ask question',
-              href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
-            },
-            {
-              label: 'Report defect',
-              href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
-            },
-          ],
-        },
-        {
-          title: 'Extentions',
-          items: [
-            {
-              label: 'Feature request',
-              href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
+              label: 'GitHub',
+              href: 'https://github.com/metrixplusplus/',
             },
             {
               label: 'Open issues',
@@ -74,15 +60,19 @@ module.exports = {
           ],
         },
         {
-          title: 'More',
+          title: 'Feedback',
           items: [
             {
-              label: 'Blog',
-              to: 'blog',
+              label: 'Ask question',
+              href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
             },
             {
-              label: 'GitHub',
-              href: 'https://github.com/metrixplusplus/',
+              label: 'Report defect',
+              href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
+            },
+            {
+              label: 'Feature request',
+              href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
             },
           ],
         },

文件差異過大導致無法顯示
+ 16 - 15450
docs/package-lock.json


+ 1 - 1
docs/src/pages/index.js

@@ -90,7 +90,7 @@ function Home() {
   return (
     <Layout
       title={`${siteConfig.title}`}
-      description="Description will go into a meta tag in <head />">
+      description="Management of source code quality is possible">
       <header className={clsx('hero hero--primary', styles.heroBanner)}>
         <div className="container">
           <h1 className="hero__title">{siteConfig.title}</h1>

二進制
docs/static/img/favicon.ico


文件差異過大導致無法顯示
+ 0 - 1
docs/static/img/logo.svg