Nuke GetReadme and GetReadmeHtml 🔥

Closes #750
This commit is contained in:
Kristian Hellang
2015-03-18 21:30:36 +01:00
parent 0517c3e68d
commit def374d253
5 changed files with 0 additions and 127 deletions
@@ -159,30 +159,6 @@ namespace Octokit.Reactive
return _connection.GetAndFlattenAllPages<Repository>(ApiUrls.OrganizationRepositories(organization));
}
/// <summary>
/// Returns the HTML rendered README.
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
[Obsolete("This method has been obsoleted by Content.GetReadme. Please use that instead.")]
public IObservable<Readme> GetReadme(string owner, string name)
{
return _client.Content.GetReadme(owner, name).ToObservable();
}
/// <summary>
/// Returns just the HTML portion of the README without the surrounding HTML document.
/// </summary>
/// <param name="owner">The owner of the repository</param>
/// <param name="name">The name of the repository</param>
/// <returns></returns>
[Obsolete("This method has been obsoleted by Content.GetReadmeHtml. Please use that instead.")]
public IObservable<string> GetReadmeHtml(string owner, string name)
{
return _client.Content.GetReadmeHtml(owner, name).ToObservable();
}
/// <summary>
/// A client for GitHub's Commit Status API.
/// </summary>