Skip to content

Commit

Permalink
Deployed 2babf23 with MkDocs version: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rturrado committed Aug 26, 2024
1 parent 3379b0b commit b8c6865
Show file tree
Hide file tree
Showing 7 changed files with 77 additions and 77 deletions.
8 changes: 4 additions & 4 deletions cpp_highlighting.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
document$.subscribe(() => {
hljs.highlightAll(),
{ language: 'c++' }
})
document$.subscribe(() => {
hljs.highlightAll(),
{ language: 'c++' }
})
2 changes: 1 addition & 1 deletion dev-guide/cpp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ <h1>C++</h1>
<p>You may need to execute the <code>conan profile detect</code> command if this is the first time you run Conan.</p>
</div>
<pre><code class="language-shell">conan profile detect
conan create --version 0.6.6 . -pr:a=tests-debug -b missing
conan create --version 0.6.7 . -pr:a=tests-debug -b missing
</code></pre>
<p>You can test the C++ binaries:</p>
<pre><code class="language-shell">cd test/Debug
Expand Down
122 changes: 61 additions & 61 deletions libqasm.css
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
:root {
--md-primary-fg-color: #0050D0;
}

.md-grid {
max-width: 960px;
}

@media (min-width: 400px) {
.md-tabs {
display: block;
}
}

.docblock {
border-left: .05rem solid var(--md-primary-fg-color);
}

.docblock-desc {
margin-left: 1em;
}

pre > code.decl {
white-space: pre-wrap;
}


code.decl > div {
text-indent: -2ch; /* Negative indent to counteract the indent on the first line */
padding-left: 2ch; /* Add padding to the left to create an indent */
}

.features-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center; /* Center the items horizontally */
}

.feature {
flex: 1 1 calc(50% - 20px); /* Two columns with space between */
max-width: 600px; /* Set the maximum width for the feature boxes */
box-sizing: border-box;
padding: 10px;
overflow: hidden; /* Hide overflow content */
text-overflow: ellipsis; /* Handle text overflow */
white-space: normal; /* Allow text wrapping */
}

.feature h2 {
margin-top: 0px;
font-weight: bold;
}

@media (max-width: 768px) {
.feature {
flex: 1 1 100%; /* Stack columns on smaller screens */
max-width: 100%; /* Allow full width on smaller screens */
white-space: normal; /* Allow text wrapping on smaller screens */
}
}
:root {
--md-primary-fg-color: #0050D0;
}

.md-grid {
max-width: 960px;
}

@media (min-width: 400px) {
.md-tabs {
display: block;
}
}

.docblock {
border-left: .05rem solid var(--md-primary-fg-color);
}

.docblock-desc {
margin-left: 1em;
}

pre > code.decl {
white-space: pre-wrap;
}


code.decl > div {
text-indent: -2ch; /* Negative indent to counteract the indent on the first line */
padding-left: 2ch; /* Add padding to the left to create an indent */
}

.features-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center; /* Center the items horizontally */
}

.feature {
flex: 1 1 calc(50% - 20px); /* Two columns with space between */
max-width: 600px; /* Set the maximum width for the feature boxes */
box-sizing: border-box;
padding: 10px;
overflow: hidden; /* Hide overflow content */
text-overflow: ellipsis; /* Handle text overflow */
white-space: normal; /* Allow text wrapping */
}

.feature h2 {
margin-top: 0px;
font-weight: bold;
}

@media (max-width: 768px) {
.feature {
flex: 1 1 100%; /* Stack columns on smaller screens */
max-width: 100%; /* Allow full width on smaller screens */
white-space: normal; /* Allow text wrapping on smaller screens */
}
}
8 changes: 4 additions & 4 deletions python_highlighting.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
document$.subscribe(() => {
hljs.highlightAll(),
{ language: 'python' }
})
document$.subscribe(() => {
hljs.highlightAll(),
{ language: 'python' }
})
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions typescript_highlighting.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
document$.subscribe(() => {
hljs.highlightAll(),
{ language: 'typescript' }
})
document$.subscribe(() => {
hljs.highlightAll(),
{ language: 'typescript' }
})
4 changes: 2 additions & 2 deletions user-guide/cpp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -886,9 +886,9 @@ <h1>C++</h1>

<p>libQASM can be requested as a Conan package from a <code>conanfile.py</code>.</p>
<pre><code>def build_requirements(self):
self.tool_requires(&quot;libqasm/0.6.6&quot;)
self.tool_requires(&quot;libqasm/0.6.7&quot;)
def requirements(self):
self.requires(&quot;libqasm/0.6.6&quot;)
self.requires(&quot;libqasm/0.6.7&quot;)
</code></pre>
<p>And then linked against from a <code>CMakeLists.txt</code>:</p>
<pre><code>target_link_libraries(&lt;your target&gt; PUBLIC libqasm::libqasm)
Expand Down

0 comments on commit b8c6865

Please sign in to comment.