lib: add some nitish to avoid service configuration issues
authorJean Privat <jean@pryen.org>
Mon, 18 Feb 2019 15:56:02 +0000 (10:56 -0500)
committerJean Privat <jean@pryen.org>
Mon, 18 Feb 2019 15:56:02 +0000 (10:56 -0500)
docunits should not require specifics like a token or a server

Signed-off-by: Jean Privat <jean@pryen.org>

lib/github/api.nit
lib/popcorn/pop_repos.nit

index e518f8d..4eb9a97 100644 (file)
@@ -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"
index 2040c83..72003ec 100644 (file)
@@ -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