Skip to content

Commit

Permalink
docs: add VSCode screenshot to docs (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecthomas authored Jun 9, 2024
1 parent ff5be0c commit 2a78001
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
4 changes: 2 additions & 2 deletions common/projectconfig/projectconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func CreateDefaultFileIfNonexistent(ctx context.Context) error {
if !errors.Is(err, os.ErrNotExist) {
return err
}
logger.Warnf("Creating a new project config file at %q because the file does not already exist", path)
logger.Debugf("Creating a new project config file at %q", path)
return Save(path, Config{})
}

Expand Down Expand Up @@ -107,7 +107,7 @@ func LoadWritableConfig(ctx context.Context, input []string) (Config, error) {

logger := log.FromContext(ctx)
if _, err := os.Stat(target); errors.Is(err, os.ErrNotExist) {
logger.Warnf("Creating a new project config file at %q because the file does not already exist", target)
logger.Debugf("Creating a new project config file at %q", target)
err = Save(target, Config{})
if err != nil {
return Config{}, err
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,13 @@ Any number of modules can be added to your project, adjacent to each other.

### Start the FTL cluster

If using VSCode, opening the directory will prompt you to start FTL.
#### VSCode

If using VSCode, opening the directory will prompt you to start FTL:

[![VSCode](vscode.png)](vscode.png)

#### Manually

Alternatively start the local FTL development cluster from the command-line:

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/sass/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

@import "../themes/adidoks/sass/main.scss";

img {
max-width: 100%;
height: auto;
}

0 comments on commit 2a78001

Please sign in to comment.