Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 116 for Serve (1.01 sec)

  1. docs/en/docs/contributing.md

    Then you can serve that with the command `serve`:
    
    <div class="termy">
    
    ```console
    // Use the command "serve" after running "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 17:42:43 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. internal/http/server.go

    	srv.listener = listener
    	srv.listenerMutex.Unlock()
    
    	var l net.Listener = listener
    	if tlsConfig != nil {
    		l = tls.NewListener(listener, tlsConfig)
    	}
    
    	serve = func() error {
    		return srv.Server.Serve(l)
    	}
    
    	return
    }
    
    // Shutdown - shuts down HTTP server.
    func (srv *Server) Shutdown() error {
    	srv.listenerMutex.Lock()
    	if srv.listener == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. scripts/docs.py

        Takes an optional LANG argument with the name of the language to serve, by default
        en.
        """
        # Enable line numbers during local development to make it easier to highlight
        os.environ["LINENUMS"] = "true"
        if lang is None:
            lang = "en"
        lang_path: Path = docs_path / lang
        os.chdir(lang_path)
        mkdocs.commands.serve.serve(dev_addr="127.0.0.1:8008")
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  4. docs/en/docs/how-to/custom-docs-ui-assets.md

    But it's possible to customize it, you can set a specific CDN, or serve the files yourself.
    
    ## Custom CDN for JavaScript and CSS
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  5. docs/ru/docs/contributing.md

    После чего Вы сможете запустить сервер со всеми языками командой `serve`:
    
    <div class="termy">
    
    ```console
    // Используйте команду "serve" после того, как отработает команда "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

     *
     */
    @Deprecated
    public interface ClasspathTransformation {
        String ROLE = ClasspathTransformation.class.getName();
    
        /**
         * Transform Graph into a Collection of metadata objects that
         * could serve as a classpath for a particular scope
         *
         * @param dirtyGraph - dependency graph
         * @param scope - which classpath to extract
         * @param resolve - whether to resolve artifacts.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. docs/de/docs/contributing.md

    Dieses können Sie dann mit dem Befehl `serve` bereitstellen:
    
    <div class="termy">
    
    ```console
    // Verwenden Sie das Kommando „serve“ nachdem Sie „build-all“ ausgeführt haben.
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 23:55:23 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  8. cni/pkg/monitoring/monitoring.go

    		log.Errorf("could not set up prometheus exporter: %v", err)
    		return
    	}
    	mux.Handle(path, exporter)
    	monitoringServer := &http.Server{
    		Handler: mux,
    	}
    	go func() {
    		if err = monitoringServer.Serve(listener); network.IsUnexpectedListenerError(err) {
    			log.Errorf("error running monitoring http server: %s", err)
    		}
    	}()
    	go func() {
    		<-stop
    		err := monitoringServer.Close()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jun 09 07:54:01 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  9. docs/pt/docs/contributing.md

    Então você poderá "servir" eles com o comando `serve`:
    
    <div class="termy">
    
    ```console
    // Use o comando "serve" após rodar "build-all"
    $ python ./scripts/docs.py serve
    
    Warning: this is a very simple server. For development, use mkdocs serve instead.
    This is here only to preview a site with translations already built.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/static-files.md

    # Static Files
    
    You can serve static files automatically from a directory using `StaticFiles`.
    
    ## Use `StaticFiles`
    
    * Import `StaticFiles`.
    * "Mount" a `StaticFiles()` instance in a specific path.
    
    ```Python hl_lines="2  6"
    {!../../../docs_src/static_files/tutorial001.py!}
    ```
    
    !!! note "Technical Details"
        You could also use `from starlette.staticfiles import StaticFiles`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 19:56:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top