Skip to content

Commit

Permalink
Update docs website icons, optimize images (#2056)
Browse files Browse the repository at this point in the history
* Add social icons, optimize images

* Fix manifest asset urls

* Fix ms tile image url

* Add favicon tag
  • Loading branch information
rolandasb committed Apr 20, 2020
1 parent 46e00de commit 3fbbbd8
Show file tree
Hide file tree
Showing 72 changed files with 88 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/_includes/header.html
Expand Up @@ -2,7 +2,7 @@
<div class="row">
<div class="large-12 column">
<a href="/" class="brand">
<img src="/images/CapistranoLogo.png" alt="capistrano logo" />
<img src="/assets/images/CapistranoLogo.png" alt="capistrano logo" />
</a>
</div>
<!-- <div class="large&#45;4 column"> -->
Expand Down
21 changes: 15 additions & 6 deletions docs/_layouts/default.html
Expand Up @@ -8,10 +8,19 @@
<link href='https://fonts.googleapis.com/css?family=Enriqueta' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="//use.typekit.net/itm5ubu.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<link rel="stylesheet" href="/css/foundation.css" />
<link rel="stylesheet" href="/css/capistrano.css">
<link rel="stylesheet" href="/css/social_foundicons.css" />
<link rel="stylesheet" href="/css/monokai.css" />
<link rel="stylesheet" href="/assets/css/foundation.css" />
<link rel="stylesheet" href="/assets/css/capistrano.css">
<link rel="stylesheet" href="/assets/css/social_foundicons.css" />
<link rel="stylesheet" href="/assets/css/monokai.css" />

<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png">
<link rel="icon" href="/assets/favicon.ico">
<link rel="manifest" href="/assets/site.webmanifest">
<link rel="mask-icon" href="/assets/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#1c1b39">
<meta name="theme-color" content="#1c1b39">
</head>

<body>
Expand All @@ -33,8 +42,8 @@ <h2>{{ page.title }}</h2>

{% include footer.html %}

<script src="/js/jquery-1.7.min.js"></script>
<script src="/js/jquery.githubRepoWidget.min.js"></script>
<script src="/assets/js/jquery-1.7.min.js"></script>
<script src="/assets/js/jquery.githubRepoWidget.min.js"></script>

<a href="https://github.com/capistrano/capistrano"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub"></a>

Expand Down
Binary file added docs/assets/android-chrome-192x192.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/android-chrome-512x512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions docs/assets/browserconfig.xml
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="mstile-150x150.png"/>
<TileColor>#1c1b39</TileColor>
</tile>
</msapplication>
</browserconfig>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added docs/assets/favicon-16x16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/favicon-32x32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/favicon.ico
Binary file not shown.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
Binary file added docs/assets/images/BashStartupFiles1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/CapistranoAvatar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/CapistranoGraphic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/CapistranoGraphicWireframe.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/CapistranoLogo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/images/airbrussh-screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added docs/assets/mstile-150x150-min.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions docs/assets/safari-pinned-tab.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/assets/site.webmanifest
@@ -0,0 +1,19 @@
{
"name": "Capistrano",
"short_name": "Capistrano",
"icons": [
{
"src": "android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#1c1b39",
"background_color": "#1c1b39",
"display": "standalone"
}
Expand Up @@ -114,7 +114,7 @@ INFO Not interactive
Best explained with this diagram, yes it's that complicated:

<figure class="panel">
<img src="/images/BashStartupFiles1.png" title="Bash Startup Files" alt="Bash Startup Files" />
<img src="/assets/images/BashStartupFiles1.png" title="Bash Startup Files" alt="Bash Startup Files" />
<figcaption>
<p>Source: <a href="http://www.solipsys.co.uk/new/BashInitialisationFiles.html">http://www.solipsys.co.uk/new/BashInitialisationFiles.html</a></p>
</figcaption>
Expand Down
Expand Up @@ -47,7 +47,7 @@ correct, we are allowed to login.
**Note:** If you are on Windows, you can use Git for Windows to generate ssh keys. To do this, follow this steps:

1. Install [Git for Windows](https://git-scm.com/download/win).
2. Open "Git Bash" and follow next instructions always inside Git Bash prompt.
2. Open "Git Bash" and follow next instructions always inside Git Bash prompt.
3. Activate ssh-agent: ```$ eval "$(ssh-agent -s)" ```

**Note:** If you want to use [Putty tool](https://www.putty.org/) to connect to remote server (from Windows) with ssh keys, then you need to generate ppk file, through puttygen tool.
Expand Down Expand Up @@ -300,7 +300,7 @@ me@localhost $ git ls-remote https://XXXX:@github.com/capistrano/rails3-bootstra
Where `XXXX` is a personal API token, as such:
![Github Personal API Token Page](/images/github-personal-api-token-page.png)
![Github Personal API Token Page](/assets/images/github-personal-api-token-page.png)
##### 1.2.3 Deploy Keys
Expand Down
4 changes: 2 additions & 2 deletions docs/documentation/getting-started/cold-start/index.markdown
Expand Up @@ -135,7 +135,7 @@ Tasks: TOP => git:check
This'll typically come out looking more beautiful depending on your terminal
colour support, you may well see something like this:

![Capistrano Git Check Colour Example](/images/git-check-example-screenshot.png)
![Capistrano Git Check Colour Example](/assets/images/git-check-example-screenshot.png)

To run through that shortly, what did we do:

Expand Down Expand Up @@ -206,6 +206,6 @@ DEBUG [f40edfbb] 3419812c9f146d9a84b44bcc2c3caef94da54758 refs/heads/master
INFO [f40edfbb] Finished in 3.319 seconds command successful.
```

![Capistrano Git Check Colour Example](/images/successful-git-check-example-screenshot.png)
![Capistrano Git Check Colour Example](/assets/images/successful-git-check-example-screenshot.png)

*Note:* If you get an error like `scp: /tmp/git-ssh.sh: Permission denied`, you may need to set the `:tmp_dir` param.
2 changes: 1 addition & 1 deletion docs/documentation/harrow/index.markdown
Expand Up @@ -8,7 +8,7 @@ layout: default
There are many continuous integration tools in the world already, Harrow is
ours. It is designed to "feel" familiar to Capistrano users.

![Harrow, web-based Capistrano](/images/capistrano-logo-harrow-logo-c-primary-darker-w640.png)
![Harrow, web-based Capistrano](/assets/images/capistrano-logo-harrow-logo-c-primary-darker-w640.png)

Although Harrow is designed to work well for Capistrano-style use-cases, it is
by no means limited to only being used for Capistrano, or even for deployment.
Expand Down
Expand Up @@ -22,7 +22,7 @@ Ruby software to form part of a larger tool.

#### What does it look like?

![Capistrano 3.5 / Airbrussh formatter screenshot](/images/airbrussh-screenshot.png)
![Capistrano 3.5 / Airbrussh formatter screenshot](/assets/images/airbrussh-screenshot.png)


#### What else is in the box?
Expand Down
Binary file removed docs/favicon.ico
Binary file not shown.
Binary file removed docs/images/BashStartupFiles1.png
Binary file not shown.
Binary file removed docs/images/CapistranoAvatar.png
Binary file not shown.
Binary file removed docs/images/CapistranoGraphic.png
Binary file not shown.
Binary file removed docs/images/CapistranoGraphicWireframe.png
Binary file not shown.
Binary file removed docs/images/CapistranoLogo.png
Binary file not shown.
Binary file removed docs/images/airbrussh-screenshot.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/images/git-check-example-screenshot.png
Diff not rendered.
Binary file removed docs/images/github-personal-api-token-page.png
Diff not rendered.
Diff not rendered.

0 comments on commit 3fbbbd8

Please sign in to comment.