Skip to content

Commit

Permalink
修改样式
Browse files Browse the repository at this point in the history
  • Loading branch information
mingcli committed Dec 11, 2023
1 parent 664bb58 commit 2eee550
Show file tree
Hide file tree
Showing 7 changed files with 114 additions and 34 deletions.
34 changes: 24 additions & 10 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,54 @@
- [**Concepts**](concepts/overview.md)
- Concepts

- [Concepts](concepts/overview.md)
- [About GR-1](concepts/about_gr1.md)
- [Operation Instruction](concepts/operation_instruction.md)
- [About RoCS](concepts/about_rocs.md)
- [Networking](concepts/network.md)
- [Software Architecture](concepts/software_architecture.md)
- [Faults](concepts/faults.md)
- [**Quick Start**](quick_start/overview.md)
- Quick Start

- [Quick Start](quick_start/overview.md)
- [Installation](quick_start/installation.md)
- [Verification](quick_start/verification.md)
- [About](quick_start/about.md)
- [**Client_SDK**](client_sdk/overview.md)
- Client_SDK

- [Client_SDK](client_sdk/overview.md)
- [Python](https://fftai.github.io/rocs_client_py/index.html)
- [Nodejs](https://fftai.github.io/rocs_client_js/index.html)
- [**Remote Control App**](demo_app/overview.md)
- Remote Control App

- [Remote Control App](demo_app/overview.md)
- [Build Your Own Remote Control App](demo_app/app_project_setup.md)
- [Logic Flow](demo_app/logic_flow.md)
- [Login](demo_app/login.md)
- [**Autonomy**](autonomy/overview.md)
- [**Motion Library**](motion_library/overview.md)
- Autonomy

- [Autonomy](autonomy/overview.md)
- Motion Library
- [Motion Library](motion_library/overview.md)
- [Start](motion_library/start.md)
- [Stop](motion_library/stop.md)
- [Stand](motion_library/stand.md)
- [Walk](motion_library/walk.md)
- [Move Head](motion_library/move_head.md)
- [Move Arms and Hands](motion_library/move_arms_and_hands.md)
- [Tremble Fingers](motion_library/tremble_fingers.md)
- [**Server API**](server_api/ServerAPI.md)
- [**FSA**](fsa/about_fsa.md)
- [**Release Notes**](release/overview.md)

- Server API

- [Server API](server_api/ServerAPI.md)
- FSA

- [FSA](fsa/about_fsa.md)
- Release Notes

- [Release Notes](release/overview.md)
- [Release V0.1](release/v0.1.md)
- [Release V0.2](release/v0.2.md)
- [Release V1.1](release/v1.1.md)
- [**Feedback**](feedback/overview.md)
- Feedback

- [Feedback](feedback/overview.md)
12 changes: 6 additions & 6 deletions docs/feedback/overview.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Providing Feedback on GitHub
## Providing Feedback on GitHub

In order to continuously improve our software and ensure its compatibility with a wide range of third-party systems, we welcome feedback and contributions from external developers. This chapter outlines the process for providing feedback and submitting contributions to our project through GitHub Pull Requests (PRs).

# Getting Started
## Getting Started

Before you can start providing feedback or contributing to our project, you'll need a GitHub account. If you don't already have one, you can create an account for free at [GitHub](https://github.com/join).

# Submitting Feedback
## Submitting Feedback

Feedback is a valuable part of the development process. If you've encountered a bug, have suggestions for improvement, or want to report an issue, please follow these steps:

1. **Check for Existing Issues:** Before creating a new issue, search our [GitHub Issues](https://github.com/YourOrganization/YourProject/issues) to see if someone else has already reported the same problem or made a similar suggestion. If you find an existing issue, you can add your input to it.
2. **Create a New Issue:** If you couldn't find an existing issue that matches your feedback, feel free to create a new one. Click on the "New Issue" button, describe the problem or suggestion in detail, and provide any relevant information, such as error messages, reproduction steps, or system specifications.

# Contributing Code
## Contributing Code

If you're interested in contributing code to our project, please follow these steps:

Expand Down Expand Up @@ -43,10 +43,10 @@ git push origin feature/your-feature-name

7. **Create a Pull Request:** Visit our main project repository on GitHub and click the "New Pull Request" button. Select your branch as the source, and provide a detailed description of your changes. Explain why your contribution is valuable.

# Review and Collaboration
## Review and Collaboration

Our team will review your Pull Request and may provide feedback or request further changes. Collaboration with our developers is an integral part of the process, so please be responsive to comments and feedback.

# Thank You for Joining our Developer Community
## Thank You for Joining our Developer Community

We appreciate your interest in contributing and providing feedback to our project. Your participation is essential in helping us maintain and enhance our software. If you have any questions or need assistance, please don't hesitate to reach out to our team through GitHub or other available communication channels. Thank you for being a part of our developer community!
2 changes: 1 addition & 1 deletion docs/fsa/about_fsa.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# About FSA
## About FSA

The Fourier Smart Actuator (FSA) is an advanced mechanical component seamlessly integrating into robotic systems. Serving as an integrated actuator, it combines the power sources of robots—such as reduction gearboxes, electric motors, and drivers—into a unified and compact mechanism. This design ensures a streamlined and efficient structure. The FSA introduces smart features that enhance its capability to precisely control and optimize various robotic actions.

Expand Down
22 changes: 17 additions & 5 deletions docs/home_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
<link rel="icon" href="_media/favicon.ico"/>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css"/>
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/pure.css"/>
<link rel="stylesheet" href="https://unpkg.com/docsify-toc@1.0.0/dist/toc.css">
<link rel="stylesheet" href="//vox.cab/npm/docsify-sidebar-collapse/dist/sidebar.min.css" />
<link rel="stylesheet" href="//unpkg.com/docsify-toc@1.0.0/dist/toc.css">
<link rel="stylesheet" href="//unpkg.com/docsify/themes/vue.css">
<!-- <link rel="stylesheet" href="//unpkg.com./docsify-sidebar-collapse/dist/sidebar.min.css" /> -->

<!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css" /> -->

<link rel="stylesheet" href="./style/markdown.css" />

</head>

<body>
Expand All @@ -34,7 +37,10 @@
executeScript: true,
loadSidebar: true,
// loadNavbar: true,
subMaxLevel: 1,
subMaxLevel: 1,
themeColor: '#0086d1',
sidebarDisplayLevel: 1,
routerMode: 'hash', // hash ,history
nameLink: {
'/es/': '#/es/',
'/de-de/': '#/de-de/',
Expand Down Expand Up @@ -63,6 +69,8 @@
plugins: [
function (hook, vm) {
hook.beforeEach(html => {
console.log(vm)
console.log(vm.route.file)
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
Expand Down Expand Up @@ -90,13 +98,17 @@
scope: '.markdown-section',
headings: 'h2, h3, h4, h5, h6',
title: '',
},
routes: {
// 其他自定义路由配置
}
};
</script>
<script src='//cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js'></script>
<script src='//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js'></script>
<script src="https://unpkg.com/docsify-toc@1.0.0/dist/toc.js"></script>
<script src="//vox.cab/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
<script src="//unpkg.com/docsify-router@latest"></script>
<script src="//unpkg.com/docsify-toc@1.0.0/dist/toc.js"></script>
<script src="//unpkg.com/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.js"></script>

</body>

Expand Down
32 changes: 21 additions & 11 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@
.cover-main{
width: 100%;
height: 100%;
background: #bfc4ca url(./_media/bg.png) no-repeat center top ;
background: #bfc4ca url(./_media/bg.png) no-repeat center top;
overflow: auto;
background-size: auto 100%;
background-size:auto 100%;
position: relative;
}
.main-logo{
position: fixed;
Expand All @@ -70,17 +71,24 @@
}
.main-control {
margin-top: 230px;
}
.main-control p:first-child{
text-align: center;
color:#000;
font-size: 48px;
}
.main-control p:last-child{
text-align: center;
color:#000;
font-size: 26px;
margin-top: 15px;
}

.main-button {
text-align: center;
}
.main-button a {
display: inline-block;
width: 178px;
padding: 0 45px;
height: 46px;
border-radius: 50px;
margin-top: 50px;
Expand Down Expand Up @@ -171,14 +179,16 @@
</ul>
</div>

<p class="main-control">
共创机器人生态 &nbsp &nbsp 定制人形无限未来
</p>
<div class="main-control">
<!-- <p> 共创机器人生态 &nbsp &nbsp 定制人形无限未来 </p> -->
<p>TOGETHER, WE SHAPE</p>
<p>———— THE FUTURE OF HUMANOID ————</p>
</div>
<div class="main-button">
<a href="https://github.com/FFTAI/fftai.github.io"><strong>开放资源</strong></a>
<a href="./home_page.html"><strong>文档中心</strong></a>
<!-- <a href="https://github.com/FFTAI/fftai.github.io"><strong>github</strong></a>
<a href="./homePage.html"><strong>Getting Started</strong></a> -->
<!-- <a href="https://github.com/FFTAI/fftai.github.io"><strong>开放资源</strong></a>
<a href="./home_page.html"><strong>文档中心</strong></a> -->
<a href="https://github.com/FFTAI/fftai.github.io">github</a>
<a href="./home_page.html">Getting Started</a>
</div>
</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion docs/server_api/ServerAPI.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Robot Server API
## Robot Server API

## POST Set mode

Expand Down
44 changes: 44 additions & 0 deletions docs/style/markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,47 @@ video::-webkit-media-controls-enclosure{
display: none;
}


.sidebar-nav ul {
margin:0
}

.sidebar-nav li {
text-indent: 15px;
}
.sidebar ul li a{
display: block;
text-indent: 30px
}

.sidebar ul li.active > a{
background-color: var(--theme-color, #42b983);
color:#fff;

}


.sidebar ul li.active:has( > ul) ~ p{
color: var(--theme-color, #42b983);
}

.page_toc ul a :hover {
color: var(--theme-color, #42b983);
}

.page_toc ul a:hover span {
color: var(--text-color-tertiary, #0086d1);
border-bottom: none !important;
text-decoration:none !important;
}



.markdown-section h1, .markdown-section h2{
border-left: 5px solid var(--theme-color, #42b983);
padding-left: 10px;
}
.sidebar-nav .level-1{
cursor: pointer;
}

0 comments on commit 2eee550

Please sign in to comment.