Skip to content

Commit

Permalink
Deploy preview for PR 613 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasHelming committed Oct 7, 2024
1 parent b66aaad commit 5f48d8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
29 changes: 8 additions & 21 deletions pr-previews/pr-613/docs/blueprint_documentation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,28 +130,15 @@ <h2 id="branding" style="position:relative;"><a href="#branding" aria-label="bra
<h3 id="customizing-the-app" style="position:relative;"><a href="#customizing-the-app" aria-label="customizing the app permalink" class="anchor before"><svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Customizing the App</h3>
<h4 id="application-window-title" style="position:relative;"><a href="#application-window-title" aria-label="application window title permalink" class="anchor before"><svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Application Window Title</h4>
<p>The window title is the application’s name if no workspace is opened and <code class="language-text">&lt;workspace name&gt; — &lt;application name&gt;</code> if a workspace is opened.
To clarify that the property is nested in <code class="language-text">package.json</code>, you can explicitly mention the hierarchy and emphasize the nesting structure in your documentation. Here's an improved version:</p>
<hr>
<p>The application name can be adapted in <code class="language-text">applications/electron/package.json</code> by navigating through the nested properties.</p>
The application name can be adapted in <code class="language-text">applications/electron/package.json</code> by navigating through the nested properties.</p>
<p>To change the application name, open the file and locate the following nested structure:</p>
<ul>
<li>
<p><code class="language-text">theia</code></p>
<ul>
<li>
<p><code class="language-text">frontend</code></p>
<ul>
<li>
<p><code class="language-text">config</code></p>
<ul>
<li><code class="language-text">applicationName</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="gatsby-highlight" data-language="json"><pre class="language-json"><code class="language-json"> <span class="token property">"theia"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"frontend"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"config"</span><span class="token operator">:</span> <span class="token punctuation">{</span>
<span class="token property">"applicationName"</span><span class="token operator">:</span> <span class="token string">"Theia IDE"</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span>
<span class="token punctuation">}</span><span class="token punctuation">,</span></code></pre></div>
<p>Change the value of <code class="language-text">applicationName</code> to the desired name.
Also see <a href="https://github.com/eclipse-theia/theia-blueprint/blob/ed203687bad53fdbd22012926978ac40d7d8cd23/applications/electron/package.json#L26" target="_blank" rel="nofollow noopener noreferrer">the structure in the original file</a>.</p>
<h4 id="application-icons" style="position:relative;"><a href="#application-icons" aria-label="application icons permalink" class="anchor before"><svg aria-hidden="true" focusable="false" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Application Icons</h4>
Expand Down
Loading

0 comments on commit 5f48d8f

Please sign in to comment.