tag:rubydoc.tenderapp.com,2010-12-26:/discussions/problems/701-problem-with-branches-or-repo-configRubydoc.info: Discussion 2020-04-06T20:53:27Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T22:37:25Z2019-10-09T22:37:25ZProblem with branches or repo config<div><p>Fixed on our end thanks for reporting this!</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T22:38:45Z2019-10-09T22:38:45ZProblem with branches or repo config<div><p>NB: There may be some search caching still in play, but if you visit via the index or search another query you should see the correct result.</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T22:54:11Z2019-10-09T22:54:14ZProblem with branches or repo config<div><p>Thanks for the quick response!</p>
<p>The search results no longer showing "no master branch" when i search a new term:<br>
<a href="https://www.rubydoc.info/find/github?q=recurl">https://www.rubydoc.info/find/github?q=recurl</a></p>
<p>I am curious about how I can get it to respect your <code>.yardopts</code> though. We have a file GETTING_STARTED.md in the root of the project and our opts specify <code>--readme GETTING_STARTED.md</code></p>
<p>Is this correct? It works locally but does not seem pick it up in rubydocs: <a href="https://www.rubydoc.info/github/recurly/recurly-client-ruby">https://www.rubydoc.info/github/recurly/recurly-client-ruby</a></p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T23:05:47Z2019-10-09T23:05:53ZProblem with branches or repo config<div><p>You should be able to resolve this with:</p>
<pre>
<code>--readme GETTING_STARTED.md
- GETTING_STARTED.md</code>
</pre>
<p>The readme switch is a bit of an old one and there might be a bug on rubydoc.info not respecting it. If you mark the file as an "extra file" (any files listed after the <code>-</code>) it should keep the file around to serve it. You can see an example of this in <a href="https://github.com/lsegal/yard/blob/master/.yardopts">https://github.com/lsegal/yard/blob/master/.yardopts</a></p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T23:21:10Z2019-10-09T23:21:11ZProblem with branches or repo config<div><p>Interesting, but makes sense. I did try that but I'm still not seeing results: <a href="https://github.com/recurly/recurly-client-ruby/commit/a785d9da42b6a8da0dc7cee03487322905ef996a">https://github.com/recurly/recurly-client-ruby/commit/a785d9da42b6a...</a></p>
<p>It does continue to work locally though. I'm running yard 0.9.20 locally</p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T23:26:25Z2019-10-09T23:26:26ZProblem with branches or repo config<div><p>I noticed in this thread: <a href="https://rubydoc.tenderapp.com/discussions/problems/654-wrong-translation-of-readme-selected-by-default">https://rubydoc.tenderapp.com/discussions/problems/654-wrong-transl...</a></p>
<p>you said</p>
<pre>
<code>Yes, the .yardopts must be packaged with the gem for rubydoc to pick it up for gem docs hosting.</code>
</pre>
<p>Could that be the issue? Do i need to add that to my gemspec?</p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-09T23:29:17Z2019-10-09T23:29:18ZProblem with branches or repo config<div><p>the <code>.yardopts</code> file does appear to be in the resulting gem after running <code>gem build recurly.gemspec</code></p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-10T03:13:10Z2019-10-10T03:13:11ZProblem with branches or repo config<div><p>This is pretty strange, but I moved everything back to the README for now and removed the yardopts. and the README is still not showing up: <a href="https://www.rubydoc.info/github/recurly/recurly-client-ruby/">https://www.rubydoc.info/github/recurly/recurly-client-ruby/</a></p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-10T17:54:24Z2019-10-10T17:54:28ZProblem with branches or repo config<div><p>Kind of seems like the "No master fork" error is back too</p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-10T20:37:56Z2019-10-10T20:38:31ZProblem with branches or repo config<div><p>So it looks like a couple of other projects have been dealing with this same issue. Still working on diagnosing the root issue but I've temporarily unblocked your project and you should now be seeing the README along with correct master fork info. This means that you should be able to apply your .yardopts settings to get the other extra files displaying.</p>
<p>The problem may come back over the next day or two but rest assured we're investigating. I will keep this open and close when we've identified the root issue and are sure that this won't come back.</p>
<p>Thanks again for reporting the issue!</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-10T21:35:37Z2019-10-10T21:35:40ZProblem with branches or repo config<div><p>Thanks! I'd love to move this getting started stuff back out of the main README though. It uses yard syntax so is kind of confusing when viewed from GitHub. Should I try to do that again, or should I wait? do you think the problem was with my library in particular or with some larger issue with yardopts?</p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-10T22:04:07Z2019-10-10T22:04:07ZProblem with branches or repo config<div><p>You should be able to give it another shot and see what happens right now. The issue was with a larger problem in the rubydoc.info deployment pipeline.</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-10T22:25:36Z2019-10-10T22:25:38ZProblem with branches or repo config<div><p>It appears to be working now! The <code>yardopts</code> file is being respected: <a href="https://www.rubydoc.info/github/recurly/recurly-client-ruby/">https://www.rubydoc.info/github/recurly/recurly-client-ruby/</a></p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272019-10-30T22:28:23Z2019-10-30T22:28:24ZProblem with branches or repo config<div><p>Sorry to be a bother, but it's reverted back to the broken state: <a href="https://www.rubydoc.info/github/recurly/recurly-client-ruby/">https://www.rubydoc.info/github/recurly/recurly-client-ruby/</a></p></div>Bentag:rubydoc.tenderapp.com,2010-12-26:Comment/477121272020-04-06T20:49:57Z2020-04-06T20:49:59ZProblem with branches or repo config<div><p>This is continuing to be a problem for us: <a href="https://www.rubydoc.info/github/recurly/recurly-client-ruby/">https://www.rubydoc.info/github/recurly/recurly-client-ruby/</a></p>
<p>It's been going down again lately. Is there any state that we can reset? Maybe something in the database we can nuke and recreate?</p>
<p>When searching for the repo i'm seeing <code>(No master fork)</code> error as well.</p></div>Ben