Deployed 03d6dd6 to master with MkDocs 1.4.2 and mike 1.1.2
This commit is contained in:
parent
19f9f3338c
commit
9bcbd93ab9
@ -1761,6 +1761,10 @@ and this project adheres to <a href="https://semver.org/spec/v2.0.0.html">Semant
|
|||||||
<h2 id="unreleased"><a href="https://github.com/aeternity/aesophia/compare/v7.4.0...HEAD">Unreleased</a></h2>
|
<h2 id="unreleased"><a href="https://github.com/aeternity/aesophia/compare/v7.4.0...HEAD">Unreleased</a></h2>
|
||||||
<h3 id="added">Added</h3>
|
<h3 id="added">Added</h3>
|
||||||
<h3 id="changed">Changed</h3>
|
<h3 id="changed">Changed</h3>
|
||||||
|
<ul>
|
||||||
|
<li>Improve how includes with relative paths are resolved during parsing/compilation. Relative
|
||||||
|
include paths are now always relative to the file containing the <code>include</code> statement.</li>
|
||||||
|
</ul>
|
||||||
<h3 id="removed">Removed</h3>
|
<h3 id="removed">Removed</h3>
|
||||||
<h3 id="fixed">Fixed</h3>
|
<h3 id="fixed">Fixed</h3>
|
||||||
<h2 id="740"><a href="https://github.com/aeternity/aesophia/compare/v7.3.0...v7.4.0">7.4.0</a></h2>
|
<h2 id="740"><a href="https://github.com/aeternity/aesophia/compare/v7.3.0...v7.4.0">7.4.0</a></h2>
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,47 +2,47 @@
|
|||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
<url>
|
<url>
|
||||||
<loc>None</loc>
|
<loc>None</loc>
|
||||||
<lastmod>2023-09-05</lastmod>
|
<lastmod>2023-09-14</lastmod>
|
||||||
<changefreq>daily</changefreq>
|
<changefreq>daily</changefreq>
|
||||||
</url>
|
</url>
|
||||||
</urlset>
|
</urlset>
|
Binary file not shown.
@ -419,6 +419,19 @@
|
|||||||
Splitting code over multiple files
|
Splitting code over multiple files
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<nav class="md-nav" aria-label="Splitting code over multiple files">
|
||||||
|
<ul class="md-nav__list">
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#include-files-using-relative-paths" class="md-nav__link">
|
||||||
|
Include files using relative paths
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@ -834,6 +847,19 @@
|
|||||||
Splitting code over multiple files
|
Splitting code over multiple files
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
<nav class="md-nav" aria-label="Splitting code over multiple files">
|
||||||
|
<ul class="md-nav__list">
|
||||||
|
|
||||||
|
<li class="md-nav__item">
|
||||||
|
<a href="#include-files-using-relative-paths" class="md-nav__link">
|
||||||
|
Include files using relative paths
|
||||||
|
</a>
|
||||||
|
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="md-nav__item">
|
<li class="md-nav__item">
|
||||||
@ -1497,6 +1523,19 @@ example, if the file <code>library.aes</code> contains</p>
|
|||||||
the file, except that error messages will refer to the original source
|
the file, except that error messages will refer to the original source
|
||||||
locations. The language will try to include each file at most one time automatically,
|
locations. The language will try to include each file at most one time automatically,
|
||||||
so even cyclic includes should be working without any special tinkering.</p>
|
so even cyclic includes should be working without any special tinkering.</p>
|
||||||
|
<h3 id="include-files-using-relative-paths">Include files using relative paths</h3>
|
||||||
|
<p>When including code from another file using the <code>include</code> statement, the path
|
||||||
|
is relative to <em>the file that includes it</em>. Consider the following file tree:
|
||||||
|
<div class="highlight"><pre><span></span><code>c1.aes
|
||||||
|
c3.aes
|
||||||
|
dir1/c2.aes
|
||||||
|
dir1/c3.aes
|
||||||
|
</code></pre></div></p>
|
||||||
|
<p>If <code>c1.aes</code> contains <code>include "c3.aes"</code> it will include the top level <code>c3.aes</code>,
|
||||||
|
while if <code>c2.aes</code> contained the same line it would as expected include
|
||||||
|
<code>dir1/c3.aes</code>.</p>
|
||||||
|
<p>Note: Prior to v7.5.0, it would consider the include path relative to <em>the main
|
||||||
|
contract file</em> (or any explicitly set include path).</p>
|
||||||
<h2 id="standard-library">Standard library</h2>
|
<h2 id="standard-library">Standard library</h2>
|
||||||
<p>Sophia offers <a href="../sophia_stdlib/">standard library</a> which exposes some
|
<p>Sophia offers <a href="../sophia_stdlib/">standard library</a> which exposes some
|
||||||
primitive operations and some higher level utilities. The builtin
|
primitive operations and some higher level utilities. The builtin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user