From 9772676f2d58f8722cecfc02a2534a5a89142bd3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 10 Aug 2015 15:16:52 +0800 Subject: [PATCH] doc: cleanup shell prompts --- doc/manual/installing.rst | 2 +- doc/manual/management_system.rst | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/manual/installing.rst b/doc/manual/installing.rst index 55400c3d3..0f4720ca2 100644 --- a/doc/manual/installing.rst +++ b/doc/manual/installing.rst @@ -286,7 +286,7 @@ This should be done after either installation methods (conda or source). You should see something like this in the serial console: :: - ~/dev/misoc$ ./tools/flterm --port /dev/ttyUSB1 + $ ./tools/flterm --port /dev/ttyUSB1 [FLTERM] Starting... MiSoC BIOS http://m-labs.hk diff --git a/doc/manual/management_system.rst b/doc/manual/management_system.rst index 353e77575..e5f83280a 100644 --- a/doc/manual/management_system.rst +++ b/doc/manual/management_system.rst @@ -42,9 +42,9 @@ The master may use a Git repository for the storage of experiment source code. U Even though the master also supports non-bare repositories, it is recommended to use a bare repository so that it can easily support push transactions from clients. Create it with e.g.: :: - mkdir experiments - cd experiments - git init --bare + $ mkdir experiments + $ cd experiments + $ git init --bare You want Git to notify the master every time the repository is pushed to (updated), so that it is rescanned for experiments and e.g. the GUI controls and the experiment list are updated. @@ -55,11 +55,11 @@ Create a file named ``post-receive`` in the ``hooks`` folder (this folder has be Then set the execution permission on it: :: - chmod 755 hooks/post-receive + $ chmod 755 hooks/post-receive You may now run the master with the Git support enabled: :: - artiq_master -g -r /path_to/experiments + $ artiq_master -g -r /path_to/experiments Push commits containing experiments to the bare repository using e.g. Git over SSH, and the new experiments should automatically appear in the GUI.