From 79653ca260937204d8aca4a89c7eb4893cbf1404 Mon Sep 17 00:00:00 2001 From: Jason Paryani Date: Wed, 21 Aug 2013 17:18:02 -0700 Subject: [PATCH] Add doc about abasolute paths for load function --- docs/quickstart.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 7f36d30..4ee5b7d 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -18,6 +18,8 @@ Then you can load the Cap'n Proto schema with:: capnp.load('addressbook.capnp') +You can also provide an absolute path to the Cap'n Proto schema you wish to load. Otherwise, it will only look in the current working directory. + For future reference, here is the Cap'n Proto schema. Also available in the github repository under examples/addressbook.capnp:: # addressbook.capnp