Improve doc to reflect new composer script (#84)
This commit is contained in:
@@ -553,6 +553,15 @@ In your project's `composer.json`, just add this <pre>"monperrus/bibtexbrowser":
|
|||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
With composer, a test server can be started with this command:
|
||||||
|
<pre>composer serve</pre>
|
||||||
|
Which runs this script:
|
||||||
|
<pre>php -S localhost:29896 bibtexbrowser.php</pre>
|
||||||
|
|
||||||
|
Now, to display a particular bibtex file in your browser, the URI should be of this form:
|
||||||
|
<pre>localhost:29896/?bib=bibfile.bib</pre>
|
||||||
|
Note the forward slash following the port number.
|
||||||
|
|
||||||
====How to add a banner to the main view in frameset mode?====
|
====How to add a banner to the main view in frameset mode?====
|
||||||
|
|
||||||
For instance, if you want to add a "home page" button in the main view of the frameset mode, add a banner function in ''bibtexbrowser.local.php'' as follows:
|
For instance, if you want to add a "home page" button in the main view of the frameset mode, add a banner function in ''bibtexbrowser.local.php'' as follows:
|
||||||
|
|||||||
Reference in New Issue
Block a user