Skip to content

Commit b9dcf16

Browse files
committed
docs: redesign landing page a bit
1 parent b5bf94d commit b9dcf16

File tree

3 files changed

+155
-51
lines changed

3 files changed

+155
-51
lines changed

docs/.vitepress/theme/style.css

Lines changed: 34 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@
5353
--vp-c-brand-1: #0b7285; /* strong teal for text and accents */
5454
--vp-c-brand-2: #138496; /* hover */
5555
--vp-c-brand-3: #0a6b73; /* button bg */
56-
--vp-c-brand-soft: rgba(10,107,115,0.08);
56+
--vp-c-brand-soft: rgba(10, 107, 115, 0.08);
5757

5858
--vp-c-tip-1: #0b7285;
5959
--vp-c-tip-2: #138496;
6060
--vp-c-tip-3: #0a6b73;
61-
--vp-c-tip-soft: rgba(10,107,115,0.06);
61+
--vp-c-tip-soft: rgba(10, 107, 115, 0.06);
6262

6363
--vp-c-warning-1: var(--vp-c-yellow-1);
6464
--vp-c-warning-2: var(--vp-c-yellow-2);
@@ -86,11 +86,11 @@
8686
--vp-button-brand-active-text: var(--vp-c-white);
8787
--vp-button-brand-active-bg: var(--vp-c-brand-1);
8888

89-
/* Slightly larger buttons to match Robot Framework site feel */
90-
.vp-theme-default .vp-button {
91-
padding: 0.6rem 1rem;
92-
border-radius: 8px;
93-
}
89+
/* Slightly larger buttons to match Robot Framework site feel */
90+
.vp-theme-default .vp-button {
91+
padding: 0.6rem 1rem;
92+
border-radius: 8px;
93+
}
9494
}
9595

9696
/**
@@ -101,10 +101,29 @@
101101
--vp-home-hero-name-color: #ffffff;
102102
--vp-home-hero-name-background: linear-gradient(90deg, #0b7285 0%, #138496 100%);
103103

104-
/* Hero adjustments */
105-
.VPHero {
106-
background: linear-gradient(180deg, rgba(11,114,133,0.06) 0%, transparent 60%);
104+
/* Hero adjustments */
105+
.VPHero {
106+
background: linear-gradient(180deg, rgba(11, 114, 133, 0.06) 0%, transparent 60%);
107+
}
108+
}
109+
110+
@media (min-width: 640px) {
111+
.VPHero .hero-img,
112+
.VPHero img[src*="robotcode-vintage.png"] {
113+
max-width: 256px;
114+
max-height: 256px;
115+
}
107116
}
117+
118+
@media (min-width: 960px) {
119+
/* Make the hero image larger and more prominent.
120+
Targets the image used in the home front-matter (e.g. /robotcode-vintage.png).
121+
Adjusts max-width and adds responsive scaling for larger viewports. */
122+
.VPHero .hero-img,
123+
.VPHero img[src*="robotcode-vintage.png"] {
124+
max-width: 500px; /* increase from default to make image larger */
125+
max-height: 500px; /* increase from default to make image larger */
126+
}
108127
}
109128

110129
/**
@@ -114,12 +133,12 @@
114133
:root {
115134
--vp-custom-block-tip-border: transparent;
116135
--vp-custom-block-tip-text: var(--vp-c-text-1);
117-
--vp-custom-block-tip-bg: rgba(10,107,115,0.06);
118-
--vp-custom-block-tip-code-bg: rgba(10,107,115,0.04);
136+
--vp-custom-block-tip-bg: rgba(10, 107, 115, 0.06);
137+
--vp-custom-block-tip-code-bg: rgba(10, 107, 115, 0.04);
119138

120-
/* Warning / danger softer palettes */
121-
--vp-c-warning-soft: rgba(255,193,7,0.06);
122-
--vp-c-danger-soft: rgba(220,53,69,0.06);
139+
/* Warning / danger softer palettes */
140+
--vp-c-warning-soft: rgba(255, 193, 7, 0.06);
141+
--vp-c-danger-soft: rgba(220, 53, 69, 0.06);
123142
}
124143

125144
/**

docs/index.md

Lines changed: 121 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,63 +3,148 @@ layout: home
33

44
hero:
55
name: RobotCode
6-
tagline: The Ultimate Robot Framework Toolset
6+
text: Robot Framework IDE & CLI, the friendly way.
7+
tagline: Language server, debugger, analyzer, REPL, and shareable profiles for IDE & CI
78
image:
8-
src: /robotcode-logo.svg
9+
src: /robotcode-vintage.png
910
alt: RobotCode Logo
1011
actions:
11-
- theme: brand
12-
text: What is RobotCode?
13-
link: /01_about
1412
- theme: brand
1513
text: Get Started
1614
link: /02_get_started
17-
- theme: brand
18-
text: Raise an Issue or Enhancement
19-
link: "https://github.com/robotcodedev/robotcode/issues"
15+
- theme: alt
16+
text: Install VS Code
17+
link: https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode
18+
- theme: alt
19+
text: Install JetBrains
20+
link: https://plugins.jetbrains.com/plugin/26216
21+
- theme: alt
22+
text: CLI Reference
23+
link: /03_reference
24+
- theme: alt
25+
text: Star on GitHub
26+
link: https://github.com/robotcodedev/robotcode
27+
- theme: alt
28+
text: Sponsor
29+
link: /05_contributing/#how-you-can-support-robotcode
2030

2131
features:
22-
- title: Autocomplete and IntelliSense
23-
details:
24-
Autocompletion for
25-
Libraries,
26-
Resources,
27-
Variables,
28-
Keywords and Parameters,
29-
Namespaces,
30-
and more...
32+
- icon: "🧠"
33+
title: Autocomplete and IntelliSense
34+
details: |
35+
Get fast, context‑aware suggestions for libraries, resources, keywords (incl. embedded args), variables and namespaces.
36+
Signature help, hover docs and inline diagnostics are powered by Robot Framework’s native parser for accuracy in both IDEs.
37+
38+
link: /01_about
39+
linkText: Learn more
40+
41+
- icon: "🐞"
42+
title: Run and Debug
43+
details: |
44+
Execute and debug tests directly from the editor or CLI. Set breakpoints, step through keywords, inspect variables,
45+
and jump to failures. Works with suites, folders or single tests and integrates with Robot Framework logs/reports.
46+
47+
link: /02_get_started
48+
linkText: Get Started
49+
50+
- icon: "✏️"
51+
title: Refactor with Confidence
52+
details: |
53+
Project‑wide rename for keywords, arguments, variables and files with safe previews. References in resources,
54+
libraries and tests are updated consistently across your workspace (incl. multi‑root setups).
55+
link: /01_about
56+
linkText: Learn refactoring
57+
58+
- icon: "⚙️"
59+
title: Powerful CLI + robot.toml
60+
details: |
61+
A unified CLI (enhanced <code>robot</code>, <code>rebot</code>, <code>libdoc</code>, <code>discover</code>) plus a central <a href="/03_reference/config">robot.toml</a> for profiles,
62+
environments and repeatable execution. Ideal for local dev and CI pipelines.
63+
link: /03_reference/config
64+
linkText: robot.toml Reference
65+
66+
- icon: "🧪"
67+
title: Test Discovery & Explorer
68+
details: |
69+
Automatically discover tests and suites. Filter by tags, names and glob patterns. Use the Test Explorer to run suites,
70+
folders or single cases — or leverage the <code>discover</code> command from the CLI.
71+
72+
link: /03_reference/cli
73+
linkText: CLI discover
74+
75+
- icon: "🔎"
76+
title: Hover, Go to Definition & Peek
77+
details: |
78+
Navigate precisely across libraries, resources, variables and keywords. Peek to definitions inline, jump with F12,
79+
and rely on consistent cross‑references — the same engine powers VS Code and JetBrains.
80+
81+
link: /01_about
82+
linkText: Navigation features
83+
84+
- icon: "🧹"
85+
title: Linting and Formatting with Robocop
86+
details: |
87+
Optional integration with <a href="https://robocop.readthedocs.io">Robocop</a>: configurable rules, severities and ignores.
88+
Run in the IDE or via CLI; keep quality high with actionable diagnostics and rule links. Configure via <code>robot.toml</code>.
89+
90+
link: https://robocop.readthedocs.io
91+
linkText: Robocop Docs
92+
93+
- icon: "🧩"
94+
title: Multi‑IDE, same core
95+
details: |
96+
One LSP core powers both VS Code and JetBrains for a consistent experience: completion, navigation, refactoring and diagnostics.
97+
Choose your IDE — capabilities stay aligned.
98+
99+
link: /01_about
100+
linkText: IDE overview
101+
102+
- icon: "📓"
103+
title: REPL & Notebooks
104+
details: |
105+
Try keywords interactively and prototype flows quickly. Use <code>robotcode repl</code> for local sessions or <code>repl-server</code> in headless setups.
106+
Great for experimentation, demos and debugging snippets.
107+
108+
link: /03_reference/cli#repl
109+
linkText: REPL Docs
31110

32-
<img src="/autocomplete1.gif" />
33-
34-
- title: Running and Debugging
35-
details: Running and debugging of RobotFramework testcases
36-
and tasks out of the box, directly from the definition of the test or suite.
111+
---
37112

38-
<img src="/running_tests.gif" />
113+
## See RobotCode in Action
39114

40-
- title: Video Tutorial ...
41-
details:
42-
Watch the video tutorial I gave at RoboCon 2024.
43115

44-
<iframe src="https://www.youtube.com/embed/7Uad_250YuI?si=cbGrG6rM0MG7CWTB" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
116+
![Code Completions](/autocomplete1.gif)
117+
*Code completions for keywords, arguments and variables in the editor.*
45118

46119
---
47120

121+
![Running tests](/running_tests.gif)
122+
*Running tests right from the editor.*
123+
124+
125+
## Watch: RoboCon 2024 tutorial
126+
127+
<lite-youtube videoid="7Uad_250YuI" />
128+
129+
This recorded RoboCon 2024 tutorial walks through the core features of RobotCode and demonstrates how to integrate the Language Server into your daily Robot Framework workflow.
48130

49-
[![License](https://img.shields.io/github/license/robotcodedev/robotcode?style=flat&logo=apache)](https://github.com/robotcodedev/robotcode/blob/master/LICENSE)
50-
[![Build Status](https://img.shields.io/github/actions/workflow/status/robotcodedev/robotcode/build-test-package-publish.yml?branch=main&style=flat&logo=github)](https://github.com/robotcodedev/robotcode/actions?query=workflow:build_test_package_publish)
131+
- Length: ~2 hours.
132+
- Level: Beginner to intermediate — basic familiarity with Robot Framework and a working Python environment is recommended.
51133

52-
[![VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/d-biehl.robotcode?style=flat&label=VS%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)
53-
[![Installs](https://img.shields.io/visual-studio-marketplace/i/d-biehl.robotcode?style=flat)](https://marketplace.visualstudio.com/items?itemName=d-biehl.robotcode)
134+
What you will learn:
54135

55-
[![JETBRAINS Marketplace](https://img.shields.io/jetbrains/plugin/v/26216.svg)](https://plugins.jetbrains.com/plugin/26216)
56-
[![Downloads](https://img.shields.io/jetbrains/plugin/d/26216.svg)](https://plugins.jetbrains.com/plugin/26216)
136+
- How to install and enable the RobotCode extension for VS Code and JetBrains.
137+
- How the Language Server provides completion, hover documentation, and signature help to speed up test authoring.
138+
- Running and debugging tests from the editor, setting breakpoints, and inspecting variables during execution.
139+
- Using the built-in REPL and test discovery features to explore and iterate quickly.
140+
- and many more...
57141

142+
## Support RobotCode
58143

59-
[![PyPI - Version](https://img.shields.io/pypi/v/robotcode.svg?style=flat)](https://pypi.org/project/robotcode)
60-
[![Python Version](https://img.shields.io/pypi/pyversions/robotcode.svg?style=flat)](https://pypi.org/project/robotcode)
61-
[![Downloads](https://img.shields.io/pypi/dm/robotcode.svg?style=flat&label=downloads)](https://pypi.org/project/robotcode)
144+
- [GitHub Sponsors](https://github.com/sponsors/robotcodedev)
145+
- [Open Collective](https://opencollective.com/robotcode)
62146

63147

64148
## Powered by
149+
[RBTFRMWRK/Foundation](https://robotframework.org/foundation)
65150
[![JetBrains Logo](images/jetbrains.svg)](https://jb.gg/OpenSourceSupport)

docs/public/robotcode-vintage.png

1.57 MB
Loading

0 commit comments

Comments
 (0)