瀏覽代碼

Replace logseq.github.io with docs.logseq.com (#3526)

Tienson Qin 3 年之前
父節點
當前提交
02973cba6c

+ 1 - 1
CODEBASE_OVERVIEW.md

@@ -68,4 +68,4 @@ After the change changes, React will dutifully refresh the screen.
 
 ## Architecture
 
-Logseq has undergone a heavy refactoring, results in a much more robust and clear architecture. Read [this article](https://logseq.github.io/#/page/The%20Refactoring%20Of%20Logseq) written by the main contributor to the refactoring for a detailed tour.
+Logseq has undergone a heavy refactoring, results in a much more robust and clear architecture. Read [this article](https://docs.logseq.com/#/page/The%20Refactoring%20Of%20Logseq) written by the main contributor to the refactoring for a detailed tour.

+ 1 - 1
README.md

@@ -48,7 +48,7 @@ Please go to https://discuss.logseq.com/c/feature-requests/7.
 2. Start writing and have fun!
 
 ## FAQ
-Please go to https://logseq.github.io/#/page/faq.
+Please go to https://docs.logseq.com/#/page/faq.
 
 ## Credits
 

+ 1 - 1
libs/src/LSPlugin.ts

@@ -505,7 +505,7 @@ export interface IEditorProxy extends Record<string, any> {
 export interface IDBProxy {
   /**
    * Run a DSL query
-   * @link https://logseq.github.io/#/page/queries
+   * @link https://docs.logseq.com/#/page/queries
    * @param dsl
    */
   q: <T = any>(dsl: string) => Promise<Array<T> | null>

+ 1 - 1
src/main/frontend/commands.cljs

@@ -42,7 +42,7 @@
     [:li.mb-1 [:code "{{query (page-tags #tag)}}"]]]
 
    [:p "Check more examples at "
-    [:a {:href "https://logseq.github.io/#/page/queries"
+    [:a {:href "https://docs.logseq.com/#/page/queries"
          :target "_blank"}
      "Queries documentation"]
     "."]])

+ 6 - 6
src/main/frontend/components/onboarding.cljs

@@ -121,9 +121,9 @@
          {}
          (t :on-boarding/our-blog)
          [:a
-          {:href "https://logseq.github.io/"
+          {:href "https://docs.logseq.com/"
            :target "_blank"}
-          "https://logseq.github.io/"]]]
+          "https://docs.logseq.com/"]]]
        [:h2 (t :on-boarding/credits-to)]
        [:ul
         {}
@@ -191,18 +191,18 @@
                           [:div.flex-row.inline-flex.items-center
                            [:span.mr-1 (t :help/shortcuts)]
                            (ui/icon "command" {:style {:font-size 20}})]]]
-                        [(t :help/docs) "https://logseq.github.io/"]
-                        ["FAQ" "https://logseq.github.io/#/page/faq"]]}
+                        [(t :help/docs) "https://docs.logseq.com/"]
+                        ["FAQ" "https://docs.logseq.com/#/page/faq"]]}
 
             {:title "About"
-             :children [[(t :help/start) "https://logseq.github.io/#/page/getting%20started"]
+             :children [[(t :help/start) "https://docs.logseq.com/#/page/getting%20started"]
                         [(t :help/about) "https://logseq.com/blog/about"]]}
 
             {:title "Development"
              :children [[(t :help/roadmap) "https://trello.com/b/8txSM12G/roadmap"]
                         [(t :help/bug) "https://github.com/logseq/logseq/issues/new?assignees=&labels=&template=bug_report.md&title="]
                         [(t :help/feature) "https://github.com/logseq/logseq/issues/new?assignees=&labels=&template=feature_request.md&title="]
-                        [(t :help/changelog) "https://logseq.github.io/#/page/changelog"]]}
+                        [(t :help/changelog) "https://docs.logseq.com/#/page/changelog"]]}
 
             {:title "Terms"
              :children [[(t :help/privacy) "https://logseq.com/blog/privacy-policy"]

+ 2 - 2
src/main/frontend/extensions/srs.cljs

@@ -655,9 +655,9 @@
 
          [:div
           [:p "You can add \"#card\" to any block to turn it into a card or trigger \"/cloze\" to add some clozes."]
-          [:img.my-4 {:src "https://logseq.github.io/assets/2021-07-22_22.28.02_1626964258528_0.gif"}]
+          [:img.my-4 {:src "https://docs.logseq.com/assets/2021-07-22_22.28.02_1626964258528_0.gif"}]
           [:p "You can "
-           [:a {:href "https://logseq.github.io/#/page/cards" :target "_blank"}
+           [:a {:href "https://docs.logseq.com/#/page/cards" :target "_blank"}
             "click this link"]
            " to check the documentation."]]]
         [:div.opacity-60.custom-query-title.ls-card

+ 2 - 2
src/main/frontend/handler/command_palette.cljs

@@ -69,7 +69,7 @@
   (register
    {:id :document/open-logseq-doc
     :desc \"Document: open Logseq documents\"
-    :action (fn [] (js/window.open \"https://logseq.github.io/\"))})
+    :action (fn [] (js/window.open \"https://docs.logseq.com/\"))})
   ```
 
   To add i18n support, prefix `id` with command and put that item in dict.
@@ -100,4 +100,4 @@
   (register
    {:id :document/open-logseq-doc
     :desc "Document: open Logseq documents"
-    :action (fn [] (js/window.open "https://logseq.github.io/"))}))
+    :action (fn [] (js/window.open "https://docs.logseq.com/"))}))