Skip to content

Commit

Permalink
Deploying to gh-pages from @ 414bdbf 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
RiccardoM committed Dec 11, 2023
1 parent fe0a27c commit 6badba6
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 32 deletions.
6 changes: 3 additions & 3 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
<meta roperty="og:type" content="website">
<meta property="og:locale" content="en_US">

<link rel="preload" href="/alan.dart/assets/css/0.styles.4867ab04.css" as="style"><link rel="preload" href="/alan.dart/assets/js/app.9271dc8e.js" as="script"><link rel="preload" href="/alan.dart/assets/js/6.038a025f.js" as="script"><link rel="prefetch" href="/alan.dart/assets/js/10.cb5cea59.js"><link rel="prefetch" href="/alan.dart/assets/js/11.5dd1cf74.js"><link rel="prefetch" href="/alan.dart/assets/js/12.10b17887.js"><link rel="prefetch" href="/alan.dart/assets/js/13.8f016286.js"><link rel="prefetch" href="/alan.dart/assets/js/2.90456715.js"><link rel="prefetch" href="/alan.dart/assets/js/3.fda3377a.js"><link rel="prefetch" href="/alan.dart/assets/js/4.11a69a05.js"><link rel="prefetch" href="/alan.dart/assets/js/5.5bf93fa8.js"><link rel="prefetch" href="/alan.dart/assets/js/7.d49581c2.js"><link rel="prefetch" href="/alan.dart/assets/js/8.af23f5a1.js"><link rel="prefetch" href="/alan.dart/assets/js/9.b70cbdb0.js">
<link rel="preload" href="/alan.dart/assets/css/0.styles.4867ab04.css" as="style"><link rel="preload" href="/alan.dart/assets/js/app.11deba59.js" as="script"><link rel="preload" href="/alan.dart/assets/js/6.038a025f.js" as="script"><link rel="prefetch" href="/alan.dart/assets/js/10.3f4125aa.js"><link rel="prefetch" href="/alan.dart/assets/js/11.1e6a7cea.js"><link rel="prefetch" href="/alan.dart/assets/js/12.6edfadaa.js"><link rel="prefetch" href="/alan.dart/assets/js/13.76474fa4.js"><link rel="prefetch" href="/alan.dart/assets/js/2.90456715.js"><link rel="prefetch" href="/alan.dart/assets/js/3.fda3377a.js"><link rel="prefetch" href="/alan.dart/assets/js/4.11a69a05.js"><link rel="prefetch" href="/alan.dart/assets/js/5.5bf93fa8.js"><link rel="prefetch" href="/alan.dart/assets/js/7.d49581c2.js"><link rel="prefetch" href="/alan.dart/assets/js/8.fca474a6.js"><link rel="prefetch" href="/alan.dart/assets/js/9.bbe92e24.js">
<link rel="stylesheet" href="/alan.dart/assets/css/0.styles.4867ab04.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>That's a Four-Oh-Four.</blockquote> <a href="/alan.dart/" class="router-link-active">
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="theme-default-content"><h1>404</h1> <blockquote>There's nothing here.</blockquote> <a href="/alan.dart/" class="router-link-active">
Take me home.
</a></div></div><div class="global-ui"></div></div>
<script src="/alan.dart/assets/js/app.9271dc8e.js" defer></script><script src="/alan.dart/assets/js/6.038a025f.js" defer></script>
<script src="/alan.dart/assets/js/app.11deba59.js" defer></script><script src="/alan.dart/assets/js/6.038a025f.js" defer></script>
</body>
</html>
2 changes: 1 addition & 1 deletion assets/js/10.cb5cea59.js → assets/js/10.3f4125aa.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/11.5dd1cf74.js → assets/js/11.1e6a7cea.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/12.10b17887.js → assets/js/12.6edfadaa.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/13.8f016286.js → assets/js/13.76474fa4.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/8.af23f5a1.js → assets/js/8.fca474a6.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/js/9.b70cbdb0.js → assets/js/9.bbe92e24.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/app.9271dc8e.js → assets/js/app.11deba59.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions custom-chains/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<meta roperty="og:type" content="website">
<meta property="og:locale" content="en_US">

<link rel="preload" href="/alan.dart/assets/css/0.styles.4867ab04.css" as="style"><link rel="preload" href="/alan.dart/assets/js/app.9271dc8e.js" as="script"><link rel="preload" href="/alan.dart/assets/js/2.90456715.js" as="script"><link rel="preload" href="/alan.dart/assets/js/8.af23f5a1.js" as="script"><link rel="prefetch" href="/alan.dart/assets/js/10.cb5cea59.js"><link rel="prefetch" href="/alan.dart/assets/js/11.5dd1cf74.js"><link rel="prefetch" href="/alan.dart/assets/js/12.10b17887.js"><link rel="prefetch" href="/alan.dart/assets/js/13.8f016286.js"><link rel="prefetch" href="/alan.dart/assets/js/3.fda3377a.js"><link rel="prefetch" href="/alan.dart/assets/js/4.11a69a05.js"><link rel="prefetch" href="/alan.dart/assets/js/5.5bf93fa8.js"><link rel="prefetch" href="/alan.dart/assets/js/6.038a025f.js"><link rel="prefetch" href="/alan.dart/assets/js/7.d49581c2.js"><link rel="prefetch" href="/alan.dart/assets/js/9.b70cbdb0.js">
<link rel="preload" href="/alan.dart/assets/css/0.styles.4867ab04.css" as="style"><link rel="preload" href="/alan.dart/assets/js/app.11deba59.js" as="script"><link rel="preload" href="/alan.dart/assets/js/2.90456715.js" as="script"><link rel="preload" href="/alan.dart/assets/js/8.fca474a6.js" as="script"><link rel="prefetch" href="/alan.dart/assets/js/10.3f4125aa.js"><link rel="prefetch" href="/alan.dart/assets/js/11.1e6a7cea.js"><link rel="prefetch" href="/alan.dart/assets/js/12.6edfadaa.js"><link rel="prefetch" href="/alan.dart/assets/js/13.76474fa4.js"><link rel="prefetch" href="/alan.dart/assets/js/3.fda3377a.js"><link rel="prefetch" href="/alan.dart/assets/js/4.11a69a05.js"><link rel="prefetch" href="/alan.dart/assets/js/5.5bf93fa8.js"><link rel="prefetch" href="/alan.dart/assets/js/6.038a025f.js"><link rel="prefetch" href="/alan.dart/assets/js/7.d49581c2.js"><link rel="prefetch" href="/alan.dart/assets/js/9.bbe92e24.js">
<link rel="stylesheet" href="/alan.dart/assets/css/0.styles.4867ab04.css">
</head>
<body>
Expand Down Expand Up @@ -92,11 +92,11 @@
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br><span class="line-number">3</span><br><span class="line-number">4</span><br><span class="line-number">5</span><br><span class="line-number">6</span><br><span class="line-number">7</span><br><span class="line-number">8</span><br><span class="line-number">9</span><br><span class="line-number">10</span><br><span class="line-number">11</span><br><span class="line-number">12</span><br><span class="line-number">13</span><br><span class="line-number">14</span><br><span class="line-number">15</span><br><span class="line-number">16</span><br><span class="line-number">17</span><br><span class="line-number">18</span><br><span class="line-number">19</span><br><span class="line-number">20</span><br><span class="line-number">21</span><br><span class="line-number">22</span><br><span class="line-number">23</span><br></div></div><p>As you can see, this script uses three variables:</p> <ul><li><code>OUT</code>, which represents the folder inside which all the <code>.dart</code> files will be put once generated;</li> <li><code>PROTO</code>, which is the path to the <code>.proto</code> files that should be used to generate your custom types;</li> <li><code>THIRD_PARTY</code>, which is the folder inside which you have placed third parties' <code>.proto</code> files.</li></ul> <h2 id="build-errors"><a href="#build-errors" class="header-anchor">#</a> Build errors</h2> <p>It might happen that, after you have generated all your files, some errors pop up while building the project. The most commons are the ones like the following:</p> <div class="language- line-numbers-mode"><pre class="language-text"><code>Error when reading 'lib/proto/google/protobuf/timestamp.pb.dart': No such file or directory
import '../../google/protobuf/timestamp.pb.dart' as $3;
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br><span class="line-number">2</span><br></div></div><p>Such errors appear if you did not include all the required <code>.proto</code> files inside the <code>third_party</code> folder. In the example above, we can see that it was not possible to build the project because the <code>../google/protobuf/timestamp.pb.dart</code> file does not exist.</p> <p>To solve this problem, the easiest way is to simply download the get <code>.proto</code> file and put into the appropriate folder. In this case, we should download the <code>timestamp.proto</code> file and put inside the <code>third_party/proto/google/protobuf</code> folder:</p> <div class="language-shell line-numbers-mode"><pre class="language-shell"><code><span class="token function">curl</span> https://raw.githubusercontent.com/protocolbuffers/protobuf/master/src/google/protobuf/timestamp.proto <span class="token operator">&gt;</span> third_party/proto/google/protobuf/timestamp.proto
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>Once we have done so, we can simply re-run our generation script and make sure that everything builds properly.</p> <div class="custom-block tip"><p class="custom-block-title">Common missing files</p> <p>The most common missing files are the ones associated with two external dependencies that are highly used inside Cosmos: Protobuf and the Google APIs. If you are missing one or more files from either of those two projects, you can find all the files here:</p> <ul><li><a href="https://github.com/protocolbuffers/protobuf/tree/master/src/google/protobuf" target="_blank" rel="noopener noreferrer">Protobuf<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/googleapis/googleapis" target="_blank" rel="noopener noreferrer">Google APIs<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/alan-sdk/alan.dart/edit/master/docs/custom-chains/overview.md" target="_blank" rel="noopener noreferrer">Edit this page on Github</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">5/17/2023, 3:00:54 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
</code></pre> <div class="line-numbers-wrapper"><span class="line-number">1</span><br></div></div><p>Once we have done so, we can simply re-run our generation script and make sure that everything builds properly.</p> <div class="custom-block tip"><p class="custom-block-title">Common missing files</p> <p>The most common missing files are the ones associated with two external dependencies that are highly used inside Cosmos: Protobuf and the Google APIs. If you are missing one or more files from either of those two projects, you can find all the files here:</p> <ul><li><a href="https://github.com/protocolbuffers/protobuf/tree/master/src/google/protobuf" target="_blank" rel="noopener noreferrer">Protobuf<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li> <li><a href="https://github.com/googleapis/googleapis" target="_blank" rel="noopener noreferrer">Google APIs<span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></a></li></ul></div></div> <footer class="page-edit"><div class="edit-link"><a href="https://github.com/alan-sdk/alan.dart/edit/master/docs/custom-chains/overview.md" target="_blank" rel="noopener noreferrer">Edit this page on Github</a> <span><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="icon outbound"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path> <polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg> <span class="sr-only">(opens new window)</span></span></div> <div class="last-updated"><span class="prefix">Last Updated:</span> <span class="time">12/11/2023, 3:51:22 PM</span></div></footer> <div class="page-nav"><p class="inner"><span class="prev">
<a href="/alan.dart/modules/overview.html" class="prev">
Supported Cosmos modules
</a></span> <!----></p></div> </main></div><div class="global-ui"></div></div>
<script src="/alan.dart/assets/js/app.9271dc8e.js" defer></script><script src="/alan.dart/assets/js/2.90456715.js" defer></script><script src="/alan.dart/assets/js/8.af23f5a1.js" defer></script>
<script src="/alan.dart/assets/js/app.11deba59.js" defer></script><script src="/alan.dart/assets/js/2.90456715.js" defer></script><script src="/alan.dart/assets/js/8.fca474a6.js" defer></script>
</body>
</html>
Loading

0 comments on commit 6badba6

Please sign in to comment.