Consolidated documentation generation module combining core utilities,
processing logic, and output generation
          
      
      
        
          Variables
            
    
      
        | Type | Visibility | Attributes |  | Name |  | Initial |  | 
    
        
            | integer, | public, | parameter | :: | PATH_MAX_LEN | = | 256 |  | 
        
            | integer, | public, | parameter | :: | FILENAME_MAX_LEN | = | 256 |  | 
        
            | integer, | public, | parameter | :: | LINE_MAX_LEN | = | 1024 |  | 
        
            | integer, | public, | parameter | :: | MAX_EXAMPLES | = | 64 |  | 
        
            | integer, | public, | parameter | :: | MAX_MEDIA_FILES | = | 32 |  | 
        
            | integer, | public, | parameter | :: | VIDEO_WIDTH | = | 800 |  | 
        
            | integer, | public, | parameter | :: | VIDEO_HEIGHT | = | 600 |  | 
        
            | character(len=*), | public, | parameter | :: | GITHUB_BASE_URL | = | 'https://github.com/lazy-fortran/fortplot/blob/main/' |  | 
    
  
        
        
        
          Functions
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | filename |  | 
    
  
    
    Return Value
    character(len=:), allocatable
    
    
     
   
              
    
    
          
  
  
Arguments
    None
    
    Return Value
    integer
    
    
    
   
        
        
        
          Subroutines
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | input_file |  | 
        
            | character(len=*), | intent(in) |  |  | :: | output_file |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_dir |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | readme_file |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | output_file |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | fortran_path |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | python_path |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | local_path |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | filename |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | run_target |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | integer, | intent(in) |  |  | :: | index |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | dir |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | integer, | intent(in) |  |  | :: | index |  | 
        
            | character(len=PATH_MAX_LEN), | intent(out) |  |  | :: | name |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | example_dir |  | 
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | integer, | intent(in) |  |  | :: | unit_out |  | 
        
            | character(len=*), | intent(in) |  |  | :: | example_dir |  | 
        
            | character(len=*), | intent(in) |  |  | :: | example_name |  | 
    
  
     
   
              
    
    
          
  
  Arguments
      
    
      
        | Type | Intent | Optional | Attributes |  | Name |  | 
    
        
            | character(len=*), | intent(in) |  |  | :: | dir_path |  | 
        
            | character(len=*), | intent(out) |  |  | :: | media_files(MAX_MEDIA_FILES) |  | 
        
            | integer, | intent(out) |  |  | :: | n_media |  |