Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor website structure #2860

Merged
merged 81 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
ea29077
Update docs structure for preview (#2830)
AlbumenJ Oct 8, 2023
4178b55
Add go doc (#2848)
chickenlj Oct 30, 2023
90b2021
Merge branch 'master' into history/next
AlbumenJ Nov 11, 2023
9e1b012
Update docs
AlbumenJ Nov 11, 2023
2fd2693
Update hide
AlbumenJ Nov 11, 2023
d60d2f6
Update title
AlbumenJ Nov 11, 2023
bc942c9
Move erlang and pixiu
AlbumenJ Nov 11, 2023
e82955f
Fix pages
AlbumenJ Nov 11, 2023
a6d947a
Update java sdk doc (#2883)
chickenlj Dec 26, 2023
d66e93a
add scripts (#2884)
chickenlj Dec 26, 2023
d13c1ad
Update deploy.md
chickenlj Dec 26, 2023
d329ea3
Update deploy.md
chickenlj Dec 26, 2023
f94f27f
20231229 doc (#2887)
chickenlj Dec 29, 2023
e3d2c12
Update java sdk doc (#2895)
chickenlj Jan 7, 2024
d6cc5cf
Update java sdk documentation (#2897)
chickenlj Jan 9, 2024
705faa9
update (#2902)
chickenlj Jan 11, 2024
c2c6d50
Add new transaction doc (#2906)
xingfudeshi Mar 6, 2024
c5fac2f
update doc (#2939)
chickenlj Mar 13, 2024
079b6e0
Update build_and_deploy_history.yml
chickenlj Mar 13, 2024
8b54e72
Update nacos.md
chickenlj Mar 13, 2024
ebc331d
update doc (#2941)
chickenlj Mar 19, 2024
2f31c0e
Update doc (#2950)
chickenlj Apr 3, 2024
38749dd
add missing images
chickenlj Apr 3, 2024
ee23846
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj Apr 3, 2024
536b2ed
Update go doc (#2952)
chickenlj Apr 5, 2024
50c3d07
feat: 🎸 add performance tracker (#2960)
heimanba Apr 22, 2024
28925cf
hugo template remove empty string (#2966)
heimanba Apr 23, 2024
e24ce2a
update doc
chickenlj Apr 23, 2024
8070558
update gateway doc
chickenlj Apr 26, 2024
77317be
add gateway examples (#2968)
chickenlj Apr 27, 2024
6cfa652
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj Apr 27, 2024
98045bd
Update triple.md
chickenlj Apr 28, 2024
ffe9e64
Update triple.md
chickenlj Apr 28, 2024
99d1d01
Update triple.md
chickenlj Apr 28, 2024
72894dc
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj May 14, 2024
01df972
Add migration doc (#2974)
chickenlj May 14, 2024
7bbc05a
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj May 16, 2024
235c40c
Fix cover and navbar (#2995)
Hazel0928 Jun 25, 2024
7bdf69d
style: background (#2996)
Hazel0928 Jun 25, 2024
d9f3bf0
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj Jun 27, 2024
5940e1e
Fix homepage style (#2998)
Hazel0928 Jul 5, 2024
4f0a192
Add docs (#3007)
chickenlj Jul 19, 2024
45acdc6
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj Aug 14, 2024
a46a9d1
Update 3.3.0 doc (#3022)
chickenlj Aug 14, 2024
98b87d2
Merge branch 'history/next' of https://github.com/apache/dubbo-websit…
chickenlj Aug 20, 2024
019b33f
Merge branch 'master' into history/next
chickenlj Aug 20, 2024
1505624
增加商城示例
chickenlj Aug 20, 2024
3fd9573
Upgrade docsy version
AlbumenJ Aug 22, 2024
7683029
Fix docs style
AlbumenJ Aug 22, 2024
a771d8c
Enhance upgrade docs
AlbumenJ Aug 22, 2024
a87ad39
Rest docs (#3026)
oxsean Aug 26, 2024
0b3d7cc
Update and rename tripe-3.3.md to triple-3.3.md
AlbumenJ Aug 26, 2024
d23ba8e
Enhance upgrade docs
AlbumenJ Aug 26, 2024
7d60414
Enhance upgrade docs
AlbumenJ Aug 26, 2024
1b46adb
Enhance upgrade docs for dubbo-maven-plugin
AlbumenJ Aug 27, 2024
012e80d
Enhance upgrade docs for starters
AlbumenJ Aug 27, 2024
0f5b893
feat: new homepage (#3028)
Tinie13 Sep 6, 2024
8fc633e
fixed style (#3029)
Tinie13 Sep 6, 2024
4feca95
fixed style (#3030)
Tinie13 Sep 6, 2024
8a930e9
Update demo page
AlbumenJ Sep 9, 2024
a146e7d
fix homapage feature list
chickenlj Sep 9, 2024
cc98ca7
fix homapage feature list
chickenlj Sep 9, 2024
6ba38f6
Merge remote-tracking branch 'origin/history/next' into history/next
chickenlj Sep 9, 2024
2b69c25
Fix lint
AlbumenJ Sep 9, 2024
0d43980
Fix links
AlbumenJ Sep 9, 2024
9331ee3
Add json and security docs for Rest
oxsean Sep 10, 2024
494f242
Fix links
AlbumenJ Sep 10, 2024
2f5cd0b
Merge branch 'refs/heads/master' into history/next
AlbumenJ Sep 10, 2024
f6d9e2e
Fix links
AlbumenJ Sep 10, 2024
c8d7289
Fix links
AlbumenJ Sep 10, 2024
b9c62b6
Fix links
AlbumenJ Sep 10, 2024
1c71556
Fix actions
AlbumenJ Sep 10, 2024
606a503
Fix link
AlbumenJ Sep 10, 2024
4bf7271
Fix link
AlbumenJ Sep 10, 2024
69269ed
Fix link
AlbumenJ Sep 11, 2024
fc40e58
announce
AlbumenJ Sep 11, 2024
27387ce
Fix style
AlbumenJ Sep 11, 2024
8bb1052
Add link
AlbumenJ Sep 11, 2024
3faab9c
Fix quickstart docs
AlbumenJ Sep 12, 2024
c29dcae
Update release version
AlbumenJ Sep 13, 2024
a3faaaa
Merge branch 'refs/heads/master' into history/next
AlbumenJ Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy_history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
hugo-version: '0.121.2'
extended: true
- name: Build
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.122.0'
hugo-version: '0.121.2'
extended: true
- name: Build
env:
Expand Down
4 changes: 2 additions & 2 deletions .htmltest.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DirectoryPath: public
IgnoreAltMissing: false
IgnoreAltEmpty: false
IgnoreAltMissing: true
IgnoreAltEmpty: true
IgnoreInternalEmptyHash: true
IgnoreDirectoryMissingTrailingSlash: true
IgnoreCanonicalBrokenLinks: false
Expand Down
4 changes: 2 additions & 2 deletions assets/scss/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ main {
// HERO
.header-hero {
background-image: url(/imgs/texture.png);
background-color: $blue;
background-color: $gray;
text-align: center;
padding-left: 0;
padding-right: 0;
Expand Down Expand Up @@ -181,7 +181,7 @@ main {
}

.header-hero {
background-color: $blue;
background-color: $gray;

h5 {
margin: 20px 0;
Expand Down
15 changes: 15 additions & 0 deletions assets/scss/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Buttons

@if $enable-rounded {
.btn {
border-radius: 1rem;

&-lg {
border-radius: 2rem;
}

&-sm {
border-radius: 1rem;
}
}
}
2 changes: 1 addition & 1 deletion assets/scss/_case-studies.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ h2 {
}

body footer {
background-color: #585858 !important;
background-color: #F4F4F6 !important;
}

.section1 {
Expand Down
91 changes: 68 additions & 23 deletions assets/scss/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ $announcement-size-adjustment: 8px;
/* GLOBAL */
.td-main {
.row {
--bs-gutter-x: 4rem;
margin: 0;
}

Expand All @@ -24,6 +25,10 @@ $announcement-size-adjustment: 8px;
.ui-widget-content a {
color: $blue;
}

a {
text-decoration: none;
}
}

.footer-margin-0{
Expand Down Expand Up @@ -106,17 +111,18 @@ body.td-404 main .error-details {
.td-navbar {
position: fixed !important;
width: 100%;
padding-bottom: 1rem !important;
height: 40px;
background: transparent !important;
transition: 0.3s;
padding: 1rem;

.navbar-brand {
position: absolute;
width: 45px;
height: 44px;
// position: absolute;
width: 96px;
height: 20px;
background-repeat: no-repeat;
background-size: contain;
background-image: url("/imgs/favicon.png");
background-image: url("/imgs/nav_logo2.png");
}

#hamburger {
Expand All @@ -135,9 +141,11 @@ body.td-404 main .error-details {
}
}



.td-navbar-nav-scroll {
overflow: visible !important;
display: none;
// display: none;

.navbar-nav {
overflow: visible !important;
Expand All @@ -146,6 +154,7 @@ body.td-404 main .error-details {
flex-direction: row;
flex-wrap: wrap;
justify-content: space-evenly;
padding-bottom: 0px!important;

.nav-item {
position: relative;
Expand All @@ -154,7 +163,7 @@ body.td-404 main .error-details {
.active::after {
position: absolute;
width: 100%;
height: 2px;
height: 0px;
content: "";
bottom: -4px;
left: 0;
Expand All @@ -163,21 +172,22 @@ body.td-404 main .error-details {
}
}


@media only screen and (min-width: 768px) {
display: block;
margin-top: 3.5rem !important;
display: flex!important;
align-items: center!important;
}

@media only screen and (min-width: 1075px) {
margin-top: 1rem !important;
}
}


// Flip-Nav
.flip-nav .td-navbar {
background-color: white !important;
// box-shadow: 0 1px 2px $medium-grey;
border: 1px solid #ddd;
// background-color: #EBECEF !important;
.dropdown {
min-width: 0px;

}
.navbar-nav {
.nav-item {
&.show .nav-link,
Expand All @@ -194,6 +204,24 @@ body.td-404 main .error-details {
color: $medium-grey;
}
}
.nav-link {
font-size: 14px;
font-weight: 400;
color: #597371;
&:hover {
color:#49615f;
}
}
}
.nav-item-line ::after{
content:"";
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 100%;
width: 1px;
height: 16px;
background-color: #8FA8A6;
}
}

Expand Down Expand Up @@ -659,7 +687,7 @@ body.td-documentation {
margin-bottom: 0px;

// for padding-top see _size.scss
padding-bottom: calc(max(2em, 2rem));
padding-bottom: calc(max(1em, 1rem));

max-width: calc(min(1200px - 8em, 80vw));
}
Expand Down Expand Up @@ -687,7 +715,7 @@ body.td-documentation {
@media (min-width: 992px) {
#announcement aside { // more specific
.announcement-main {
padding-top: calc(max(8em, 8rem));
padding-top: calc(max(6em, 6rem));
}
}
}
Expand Down Expand Up @@ -860,10 +888,27 @@ div.alert > em.javascript-required {
margin: calc(max(4em, ( 8vh + 4em ) / 2)) 0 0.25em 0;
}

#td-sidebar-menu{
overflow: auto;
white-space: nowrap;
#docsearch {
.DocSearch-Button {
background: #DDDEE4;
padding: 0 10px !important;
}
.DocSearch-Button-Container{
width: 15px;
}
.DocSearch-Button-Placeholder{
font-size: 12px;
display: none;
}
.DocSearch-Button-Keys{
display: none;
}
}

#language .btn-language {
width: 156px;
height: 40px;
margin-right: 16px;
margin-bottom: 12px;
border-radius: 24px;
}
.td-page-meta a{
display: inline-block !important;
}
1 change: 1 addition & 0 deletions assets/scss/_skin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ $light-grey: #f7f7f7;
$dark-grey: #303030;
$medium-grey: #4c4c4c;
$white: #ffffff;
$gray: #EBECEF;
11 changes: 8 additions & 3 deletions assets/scss/main.scss
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
@import "support/functions";
@import "../vendor/bootstrap/scss/functions";
@import "_variables_forward";
@import "variables_project";
@import "variables";
@import "support/mixins";

@import "../vendor/bootstrap/scss/bootstrap";
@import "support/bootstrap_vers_test";

@import "../vendor/Font-Awesome/scss/fontawesome.scss";
@import "../vendor/Font-Awesome/scss/solid.scss";
@import "../vendor/Font-Awesome/scss/brands.scss";

@import "support/utilities";
@import "colors";
@import "table";
@import "boxes";
@import "blog";
@import "code";
@import "nav";
@import "sidebar-tree";
@import "sidebar-toc";
@import "buttons";
@import "breadcrumb";
@import "alerts";
@import "content";
@import "search";
Expand All @@ -27,6 +29,9 @@
@import "section-index";
@import "pageinfo";
@import "taxonomy";
@import "drawio";
@import "shortcodes";
@import "swagger";

@if $td-enable-google-fonts {
@import url("/css/open-sans.css");
Expand Down Expand Up @@ -98,4 +103,4 @@ footer {
@import "tablet";
@import "desktop";
@import "reset";
@import "size";
@import "size";
22 changes: 21 additions & 1 deletion cn_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defaultContentLanguageInSubdir = false
[languages.en]
title = "Apache Dubbo"
description = "Apache Dubbo Official Website"
languageName = "English"
languageName = "EN"
contentDir = "content/en"
# Weight used for sorting.
weight = 1
Expand Down Expand Up @@ -208,6 +208,26 @@ url = "mailto:[email protected]"
icon = "fa fa-envelope"
desc = "Discuss development issues around the project"


[params.ecosystem]
navLabel = "生态"
[params.ecosystem.navOptions]
[[params.ecosystem.navOptions.items]]
name = "Launch A Project"
url = "/zh-cn/blog"
[[params.ecosystem.navOptions.items]]
name = "可视化控制台"
url = "/zh-cn/download"
[[params.ecosystem.navOptions.items]]
name = "商城系统"
url = "/option-3"
[[params.ecosystem.navOptions.items]]
name = "Benchmark"
url = "/option-3"
[[params.ecosystem.navOptions.items]]
name = "Proxyless Mesh"
url = "/option-3"

[sitemap]
changefreq = "monthly"
filename = "sitemap.xml"
Expand Down
Loading
Loading