Skip to content

Commit

Permalink
Update docs (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-tiurin authored Sep 29, 2024
1 parent 73c9375 commit e97dece
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ You don't need to learn any new classes or special syntax. All magic actions and
<img src="https://user-images.githubusercontent.com/12834123/252498170-61e5a440-c2b5-42ea-8bfb-91ee12248422.png#gh-dark-mode-only" width=600>
</p>

<div align="center">
## [Documentation](https://open-tool.github.io/ultron/) | [Releases](https://github.com/open-tool/ultron/releases) | [Telegram](https://t.me/ultron_framework)
</div>

## What are the benefits of using the framework?

Expand Down
3 changes: 2 additions & 1 deletion docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ const config: Config = {
label: 'Docs',
},
{
label: 'Telegram',
href: 'https://t.me/ultron_framework',
position: 'right',
className: 'header-telegram-link',
'aria-label': 'Telegram',
},
{
href: 'https://github.com/open-tool/ultron',
Expand Down
10 changes: 10 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/src/components/HomepageFeatures/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ const FeatureList: FeatureItem[] = [
),
description: (
<>
<p>Page Object support</p>
<p>Allure support</p>
<p>Detailed logs</p>
<p>Extendable API</p>
<p>An architectural approach to developing UI tests</p>
</>
),
},
Expand Down
19 changes: 18 additions & 1 deletion docs/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
} */


:root {
--ifm-color-primary: #233a60;
--ifm-color-primary-dark: #29784c;
Expand Down Expand Up @@ -59,4 +60,20 @@

.header-github-link:hover::before {
background-color: var(--ifm-navbar-link-hover-color);
}
}

.header-telegram-link {
display: flex;
align-items: center;
}

.header-telegram-link::before {
content: '';
display: inline-block;
width: 24px;
height: 24px;
background-image: url('/img/telegram-icon.svg');
background-size: contain;
background-repeat: no-repeat;
margin-right: 8px;
}
16 changes: 16 additions & 0 deletions docs/static/img/telegram-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e97dece

Please sign in to comment.