From e53ababf9ff1b793bc60d904177849ef1af9fa11 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 18 Feb 2019 10:56:02 -0500 Subject: [PATCH] lib: add some nitish to avoid service configuration issues docunits should not require specifics like a token or a server Signed-off-by: Jean Privat --- lib/github/api.nit | 4 ++-- lib/popcorn/pop_repos.nit | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/github/api.nit b/lib/github/api.nit index e518f8d..4eb9a97 100644 --- a/lib/github/api.nit +++ b/lib/github/api.nit @@ -26,7 +26,7 @@ intrude import json::serialization_read # # To access the API you need an instance of a `GithubAPI` client. # -# ~~~ +# ~~~nitish # # Get Github authentification token. # var token = get_github_oauth # assert not token.is_empty @@ -37,7 +37,7 @@ intrude import json::serialization_read # # The API client allows you to get Github API entities. # -# ~~~ +# ~~~nitish # var repo = api.load_repo("nitlang/nit") # assert repo != null # assert repo.name == "nit" diff --git a/lib/popcorn/pop_repos.nit b/lib/popcorn/pop_repos.nit index 2040c83..72003ec 100644 --- a/lib/popcorn/pop_repos.nit +++ b/lib/popcorn/pop_repos.nit @@ -31,7 +31,7 @@ # Repositories can be used in Popcorn app to manage your data persistence. # Here an example with a book management app: # -# ~~~ +# ~~~nitish # # First we declare the `Book` class. It has to be serializable so it can be used # # within a `Repository`. # @@ -252,7 +252,7 @@ end # A Repository that uses MongoDB as backend. # -# ~~~ +# ~~~nitish # import popcorn # import popcorn::pop_repos # import popcorn::pop_json -- 1.7.9.5